Fix style

This commit is contained in:
dvanaken 2019-12-21 00:15:01 -05:00 committed by Dana Van Aken
parent d007d932b5
commit 16acc35f54
1 changed files with 1 additions and 0 deletions

View File

@ -731,6 +731,7 @@ def metric_data_view(request, project_id, session_id, data_id): # pylint: disab
target_obj = JSONUtil.loads(result.metric_data.data)[session.target_objective] target_obj = JSONUtil.loads(result.metric_data.data)[session.target_objective]
return dbms_data_view(request, context, metric_data, session, target_obj) return dbms_data_view(request, context, metric_data, session, target_obj)
def dbms_data_view(request, context, dbms_data, session, target_obj): def dbms_data_view(request, context, dbms_data, session, target_obj):
if context['data_type'] == 'knobs': if context['data_type'] == 'knobs':
model_class = KnobData model_class = KnobData