Remove unused variable in stats _sorted_statistics_to_dict (#111912)
parent
d81ed37501
commit
72fe170dc8
|
@ -2056,7 +2056,7 @@ def _sorted_statistics_to_dict( # noqa: C901
|
|||
seen_statistic_ids: set[str] = set()
|
||||
key_func = itemgetter(metadata_id_idx)
|
||||
for meta_id, group in groupby(stats, key_func):
|
||||
stats_list = stats_by_meta_id[meta_id] = list(group)
|
||||
stats_by_meta_id[meta_id] = list(group)
|
||||
seen_statistic_ids.add(metadata[meta_id]["statistic_id"])
|
||||
|
||||
# Set all statistic IDs to empty lists in result set to maintain the order
|
||||
|
|
Loading…
Reference in New Issue