Skip to content

Import Dataset from airflow.datasets to avoid circular dependency - #34586

Merged
uranusjr merged 1 commit into
apache:mainfrom
hussein-awala:dataset_import
Sep 25, 2023
Merged

Import Dataset from airflow.datasets to avoid circular dependency#34586
uranusjr merged 1 commit into
apache:mainfrom
hussein-awala:dataset_import

Conversation

@hussein-awala

Copy link
Copy Markdown
Member

related: #34558

I'm not sure if this could fix the reported issue because we don't have the full context, but this PR consolidates the import of Dataset.

@uranusjr

Copy link
Copy Markdown
Member

Maybe we should have a static check to disallow any non-qualified imports like this. They really should not exist in the core Airflow code base (including providers).

@uranusjr
uranusjr merged commit d1b7bca into apache:mainSep 25, 2023
@ephraimbuddyephraimbuddy added this to the Airflow 2.7.2 milestone Oct 3, 2023
@ephraimbuddyephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Oct 3, 2023
ephraimbuddy pushed a commit that referenced this pull request Oct 5, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug-fixChangelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@hussein-awala@uranusjr@Taragolis@Lee-W@ephraimbuddy