Closed
Description
Error occures when accessing bucket aggregation containing a filter directly from AggBase derivate instead of .aggs dict.
The cause of this is the "filter" kwarg passed excessively, colliding with related aggregation params
Minimal sample to reproduce:
b = aggs.Filter(query.Terms(something=[1, 2, 3]))
a = aggs.Terms(field="some_field", size=100)
a.bucket("b", b)
a.aggs['b'] # Ok !
a['b'] # TypeError: elasticsearch_dsl.aggs.A() got multiple values for keyword argument 'filter'
Metadata
Metadata
Assignees
Labels
No labels