You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Terms" query currently only support list parameters : using Terms(field1=(1, 2, 3), field2={"foo", "bar"}) would result in a SerializationError.
Is there a reason not to support any iterable ? It would be more pythonic and also ease integration with other framwework (thinking of Django's QuerySet)
An easy way to implement this is redefining Terms._setattr :
"Terms" query currently only support list parameters : using
Terms(field1=(1, 2, 3), field2={"foo", "bar"})
would result in aSerializationError
.Is there a reason not to support any iterable ? It would be more pythonic and also ease integration with other framwework (thinking of Django's QuerySet)
An easy way to implement this is redefining
Terms._setattr
:The text was updated successfully, but these errors were encountered: