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

Untangle conf secrets deps #10559

Merged
merged 1 commit into from
Aug 26, 2020

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Aug 25, 2020


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, 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 UPDATING.md.

airflow/models/variable.py Outdated Show resolved Hide resolved
@potiuk potiuk force-pushed the untangle-conf-secrets-deps branch 2 times, most recently from a7c59d1 to de7b2d1 Compare August 25, 2020 20:40
@potiuk
Copy link
Member Author

potiuk commented Aug 25, 2020

I think this way it is even nicer.

airflow/hooks/base_hook.py Outdated Show resolved Hide resolved
airflow/hooks/base_hook.py Outdated Show resolved Hide resolved
@potiuk potiuk force-pushed the untangle-conf-secrets-deps branch 5 times, most recently from e8c4da8 to 5e00771 Compare August 25, 2020 22:21
@potiuk
Copy link
Member Author

potiuk commented Aug 25, 2020

I think it shoudl be ratrher nice now :)

@turbaszek
Copy link
Member

Taking a look at the changes and failed tests I would say that we may need to adjust mocking?

@potiuk
Copy link
Member Author

potiuk commented Aug 26, 2020

Taking a look at the changes and failed tests I would say that we may need to adjust mocking?

I think it's better to keep backward compatibility and restore "get_connections" method in BaseHook :)

@potiuk potiuk force-pushed the untangle-conf-secrets-deps branch from 5e00771 to 859c75b Compare August 26, 2020 10:28
@potiuk
Copy link
Member Author

potiuk commented Aug 26, 2020

I think this should work now :)

@potiuk potiuk force-pushed the untangle-conf-secrets-deps branch from 859c75b to bd07308 Compare August 26, 2020 12:15
@potiuk
Copy link
Member Author

potiuk commented Aug 26, 2020

Or rather this time - there was some bad refactor breaking other tests :)

airflow/secrets/__init__.py Outdated Show resolved Hide resolved
airflow/secrets/__init__.py Outdated Show resolved Hide resolved
airflow/configuration.py Outdated Show resolved Hide resolved
@potiuk potiuk force-pushed the untangle-conf-secrets-deps branch from bd07308 to 5a2babb Compare August 26, 2020 12:42
Copy link
Member

@turbaszek turbaszek 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 🚀

@potiuk potiuk merged commit 8a7c372 into apache:master Aug 26, 2020
@potiuk potiuk deleted the untangle-conf-secrets-deps branch August 26, 2020 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants