Skip to content

Refactor: Simplify code in settings#33267

Merged
potiuk merged 1 commit into
apache:mainfrom
eumiro:settings
Aug 13, 2023
Merged

Refactor: Simplify code in settings#33267
potiuk merged 1 commit into
apache:mainfrom
eumiro:settings

Conversation

@eumiro

@eumiro eumiro commented Aug 9, 2023

Copy link
Copy Markdown
Contributor

No description provided.

@eumiro
eumiro force-pushed the settings branch 3 times, most recently from 0dadedf to cc41283 Compare August 10, 2023 19:01
Comment thread airflow/settings.py
try:
import airflow_local_settings

except ModuleNotFoundError as e:

Copy link
Copy Markdown
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
@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