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 mypy index property access in opensearch example #35691

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Nov 16, 2023

The new opensearch-py 2.4.1 added mypy stubs in
opensearch-project/opensearch-py#563 and they detected an error in our example (and they cause mypy error when the new version is used)


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

The new opensearch-py 2.4.1 added mypy stubs in
opensearch-project/opensearch-py#563 and
they detected an error in our example (and they cause mypy error
when the new version is used)
@potiuk potiuk force-pushed the fix-mypy-problem-with-opensearch branch from ddc7b20 to 31b5bb1 Compare November 16, 2023 19:50
@potiuk
Copy link
Member Author

potiuk commented Nov 16, 2023

Slightly updated -> It must be an array :)

@potiuk potiuk merged commit dffe04a into apache:main Nov 16, 2023
46 checks passed
@potiuk potiuk deleted the fix-mypy-problem-with-opensearch branch November 16, 2023 20:32
Copy link
Contributor

@o-nikolas o-nikolas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, re-ran failed builds

@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Nov 20, 2023
@ephraimbuddy ephraimbuddy added this to the Airflow 2.8.0 milestone Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers area:system-tests changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) provider:opensearch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants