-
Notifications
You must be signed in to change notification settings - Fork 802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
to_dict() doesn't convert inner_hits #1520
Labels
Comments
miguelgrinberg
added a commit
to miguelgrinberg/elasticsearch-dsl-py
that referenced
this issue
Aug 30, 2024
miguelgrinberg
added a commit
to miguelgrinberg/elasticsearch-dsl-py
that referenced
this issue
Aug 30, 2024
miguelgrinberg
added a commit
to miguelgrinberg/elasticsearch-dsl-py
that referenced
this issue
Aug 30, 2024
miguelgrinberg
added a commit
to miguelgrinberg/elasticsearch-dsl-py
that referenced
this issue
Aug 30, 2024
miguelgrinberg
added a commit
to miguelgrinberg/elasticsearch-dsl-py
that referenced
this issue
Aug 30, 2024
miguelgrinberg
added a commit
that referenced
this issue
Sep 3, 2024
With this fix, you can use |
miguelgrinberg
added a commit
that referenced
this issue
Sep 3, 2024
miguelgrinberg
added a commit
to miguelgrinberg/elasticsearch-dsl-py
that referenced
this issue
Dec 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe related to #291, I'm attempting to dump my elasticsearch-dsl response by calling
to_dict()
, but it doesn't appear to walk the entire structure.inner_hits
appear to beResponse
instances, but callingto_dict()
on the top-level response doesn't convert them. Why does it convert hits but not inner_hits? Is there a simple way to convert the entire response without having to pick apart the structure and manually callto_dict()
as needed?I'm using Python 3.8 and elasticsearch-dsl 7.4.0.
Thanks so much for this library! ❤️ It's incredibly useful.
The text was updated successfully, but these errors were encountered: