uselotus / lotus

File .deepsource.toml not found in the default branch of the repository root. Please refer to the docs.

Consider iterating dictionary PYL-C0201
Anti-pattern
Major
a year agoa year old
Consider iterating the dictionary directly instead of calling .keys()
 706        elif self.event_type == EVENT_TYPE.DELTA:
 707            last_pre_query_grouped = (
 708                pre_query_all_events.filter(*filter_args, **grouping_filter)
 709                .values(*[x for x in grouping_filter.keys()]) 710                .annotate(last_qty=Sum(Cast(F("property_value"), FloatField())))
 711            )
 712            last_pre_query_actual_events = pre_query_all_events.annotate(