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

Add future-compatible mongo Hook typing #31289

Merged
merged 1 commit into from
May 15, 2023

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented May 15, 2023

We are migrating to new mongo library soon and it has typing support. This one adds propert typing that will prevent MyPy from failing once mongo gets upgraded.


^ 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.

@potiuk potiuk force-pushed the add-future-compatible-typing-for-mongo branch from 3b905f4 to 01e2d0a Compare May 15, 2023 11:52
@potiuk potiuk requested a review from o-nikolas as a code owner May 15, 2023 11:52
@potiuk
Copy link
Member Author

potiuk commented May 15, 2023

Looks like two more changes needed in mongo_to_s3 :)

@potiuk potiuk force-pushed the add-future-compatible-typing-for-mongo branch from 01e2d0a to 155d6ff Compare May 15, 2023 14:20
We are migrating to new mongo library soon and it has typing
support. This one adds propert typing that will prevent
MyPy from failing once mongo gets upgraded.
@potiuk potiuk force-pushed the add-future-compatible-typing-for-mongo branch from 155d6ff to 1c02363 Compare May 15, 2023 14:59
@potiuk potiuk merged commit 0117246 into apache:main May 15, 2023
@potiuk potiuk deleted the add-future-compatible-typing-for-mongo branch May 15, 2023 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants