-
Notifications
You must be signed in to change notification settings - Fork 15.9k
Open
Labels
area:dev-envCI, pre-commit, pylint and other changes that do not change the behavior of the final codeCI, pre-commit, pylint and other changes that do not change the behavior of the final codearea:dev-toolsarea:task-execution-interface-aip72AIP-72: Task Execution Interface (TEI) aka Task SDKAIP-72: Task Execution Interface (TEI) aka Task SDK
Milestone
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
area:dev-envCI, pre-commit, pylint and other changes that do not change the behavior of the final codeCI, pre-commit, pylint and other changes that do not change the behavior of the final codearea:dev-toolsarea:task-execution-interface-aip72AIP-72: Task Execution Interface (TEI) aka Task SDKAIP-72: Task Execution Interface (TEI) aka Task SDK
Type
Projects
Status
Icebox