From 30ca3f6e1a6fb12db6df8f615e2fd5240b558b0b Mon Sep 17 00:00:00 2001 From: 0ssigeno Date: Thu, 26 Sep 2024 11:30:02 +0200 Subject: [PATCH] Fix --- atlasq/queryset/transform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atlasq/queryset/transform.py b/atlasq/queryset/transform.py index a45a9e0..16ff665 100644 --- a/atlasq/queryset/transform.py +++ b/atlasq/queryset/transform.py @@ -331,7 +331,7 @@ def transform(self) -> Tuple[List[Dict], List[Dict], List[Dict]]: for j, aggr in enumerate(other_aggregations): if path in aggr: # if we have another path__contains__keyword, we merge them - other_aggregations[j] = mergedicts(aggr, aggregation) + other_aggregations[j] = dict(mergedicts(aggr, aggregation)) break else: other_aggregations.append(aggregation)