Fixed formatting
This commit is contained in:
parent
7b962c4065
commit
9f9f2845d6
|
@ -7,10 +7,10 @@
|
||||||
import re
|
import re
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
|
|
||||||
from ..base.parser import BaseParser
|
|
||||||
from .. import target_objectives
|
|
||||||
from website.models import KnobCatalog, MetricCatalog
|
from website.models import KnobCatalog, MetricCatalog
|
||||||
from website.types import MetricType, VarType
|
from website.types import MetricType, VarType
|
||||||
|
from ..base.parser import BaseParser
|
||||||
|
from .. import target_objectives
|
||||||
|
|
||||||
|
|
||||||
class MyRocksParser(BaseParser):
|
class MyRocksParser(BaseParser):
|
||||||
|
|
|
@ -775,7 +775,7 @@ def dbms_data_view(request, context, dbms_data, session, target_obj):
|
||||||
else:
|
else:
|
||||||
model_class = MetricData
|
model_class = MetricData
|
||||||
featured_names = set(MetricCatalog.objects.filter(
|
featured_names = set(MetricCatalog.objects.filter(
|
||||||
dbms=session.dbms, metric_type__in=MetricCtype.numeric()).values_list(
|
dbms=session.dbms, metric_type__in=MetricType.numeric()).values_list(
|
||||||
'name', flat=True))
|
'name', flat=True))
|
||||||
|
|
||||||
obj_data = getattr(dbms_data, data_type)
|
obj_data = getattr(dbms_data, data_type)
|
||||||
|
|
Loading…
Reference in New Issue