Skip to content

Commit 02346f5

Browse files
committed
RDBC-742 Method aggregate_by_facets should take facets list as an argument
1 parent 2021e0f commit 02346f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ravendb/documents/session/query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2097,7 +2097,7 @@ def aggregate_by(
20972097

20982098
return AggregationDocumentQuery(self)
20992099

2100-
def aggregate_by_facets(self, *facets: FacetBase) -> AggregationDocumentQuery[_T]:
2100+
def aggregate_by_facets(self, facets: List[FacetBase]) -> AggregationDocumentQuery[_T]:
21012101
for facet in facets:
21022102
self.aggregate_by(facet)
21032103

0 commit comments

Comments
 (0)