-
Notifications
You must be signed in to change notification settings - Fork 801
v8.15.0 breaks things related to type hints? #1876
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
Comments
I'm not sure how this could have happened. Can you also show me your code? |
It's the doc_count from the last line that triggers the error from my original post. Different side effect for the same issue happens in one other part of our code (these are all pytests by the way):
The assert fails here because doc_count is gone with elasticsearch_dsl >= 8.15.0. Greetings, jgb |
Okay, I need to investigate this. A lot of our testing is based on bucket aggregations that are returned as a list, and those do have the |
I expect we'll be releasing 8.15.1 with this fix next week. In the meantime, if you'd like to verify the fix please install the |
I just tested the main branch like you said, and it indeed fixes the errors I was having. |
Uh oh!
There was an error while loading. Please reload this page.
Hello,
some of my existing code breaks when upgrading from v8.14.0 to v8.15.0 as follows:
Greetings,
jgb
The text was updated successfully, but these errors were encountered: