Skip to content
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

Fix json encoding error with empty aggregations object #6882

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

relud
Copy link
Member

@relud relud commented Jan 31, 2025

for es8+ search results may contain an AggResponse object under the aggregations key, instead a missing attribute like in es1.4, so here we convert that empty object to a dict

@relud relud requested a review from a team as a code owner January 31, 2025 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant