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

Refactor: Simplify code in settings #33267

Merged
merged 1 commit into from
Aug 13, 2023
Merged

Refactor: Simplify code in settings #33267

merged 1 commit into from
Aug 13, 2023

Conversation

eumiro
Copy link
Contributor

@eumiro eumiro commented Aug 9, 2023

No description provided.

@eumiro eumiro force-pushed the settings branch 3 times, most recently from 0dadedf to cc41283 Compare August 10, 2023 19:01
@@ -465,11 +465,23 @@ def import_local_settings():
"""Import airflow_local_settings.py files to allow overriding any configs in settings.py file."""
try:
import airflow_local_settings

except ModuleNotFoundError as e:
Copy link
Member

Choose a reason for hiding this comment

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

Looks good - even if there are other import errors laters (it's possible - local imports for example) - then this code was anyhow re-raising them.

@potiuk potiuk merged commit 95e9d83 into apache:main Aug 13, 2023
42 checks passed
@eumiro eumiro deleted the settings branch August 15, 2023 19:09
ferruzzi pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Aug 17, 2023
@ephraimbuddy ephraimbuddy added the type:misc/internal Changelog: Misc changes that should appear in change log label Aug 27, 2023
@ephraimbuddy ephraimbuddy added this to the Airflow 2.7.1 milestone Aug 27, 2023
ephraimbuddy pushed a commit that referenced this pull request Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:misc/internal Changelog: Misc changes that should appear in change log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants