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

_get_operator_extract in ElasticsearchQueryBuilder should not raise if there is only one children in binary operation #106

Open
alexgarel opened this issue Aug 30, 2024 · 0 comments
Labels

Comments

@alexgarel
Copy link
Member

While raising OrAndAndOnSameLevel in _yield_nested_children, we call _get_operator_extract which fails if we have a AndOperation or OrOperation with only one children.

It should not.

@alexgarel alexgarel added the bug label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant