pyes
pyes copied to clipboard
Dictionaries no longer work as queries
in 0.16.0 you could send a raw dictionary as a query value, now it expects a Query instance as part of the ResultSet:
Offending code:
pyes.py:1407: query = self.query.serialize()
>>> *** AttributeError: 'dict' object has no attribute 'serialize'
This seems to also have affected .get() (which before i had to do .get()['fields'] on)
(I do note the reference in the changelog, but the docstrings/code still seem to allow dicts as params)
See also #141.