line too long (94 > 88 characters)
256
257 def sort_queryset(self, queryset, data, session):
258 if 'order_by' in data:
259 order_by = list(map(lambda x: self.map_order_field(session, x), data['order_by']))260 queryset = queryset.order_by(*order_by)
261 else:
262 if 'aggregate' not in data and 'group' not in data and 'groups' not in data:
line too long (103 > 88 characters)
131 def map_group_column(group, i):
132 x_lookup_param = group.get('xLookup')
133 x_column_param = group.get('xColumn')
134 x_column = self.get_column(session, x_column_param) if x_column_param is not None else None135
136 lookup_params = x_lookup_param.split('_') if x_lookup_param else []
137 lookup_type = lookup_params[0] if len(lookup_params) >= 1 else None
line too long (103 > 88 characters)
109 def get_y_func(group):
110 y_func_param = group.get('yFunc').lower()
111 y_column_param = group.get('yColumn')
112 y_column = self.get_column(session, y_column_param) if y_column_param is not None else None113 return get_query_func_by_name(y_func_param, y_column)
114
115 if 'groups' in data:
line too long (95 > 88 characters)
97 func_param = data['aggregate'].get('func').lower()
98 column_param = data['aggregate'].get('column')
99
100 y_column = self.get_column(session, column_param) if column_param is not None else None101 y_func = get_query_func_by_name(func_param, y_column)
102
103 if y_func is None:
Description
Line length greater than configured max_line_length
detected, defaults to 79 character. This limit can be configured docs