Open
Description
Body
Right now, the reviewers have to be extremely careful about the AIP 72 PRs on task SDK not importing from airflow core or it would introduce coupling between core and sdk again.
Add a precommit script to detect and deny such commits.
The intention is that we shouldn't be allowing imports that involves accessing ORM / DB. Mainly: airflow-core/src/airflow/models
. But generally in longer term, we should minimise and eliminate the imports from airflow-core
all together. For initial phases, selectively allow imports from exceptions and utils.
Committer
- I acknowledge that I am a maintainer/committer of the Apache Airflow project.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Icebox