This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
from 5b4908d7921 Add test to prevent ORM references in migration scripts
(#60176)
add ec441299d3d Add DAG importer abstraction layer (#60127)
No new revisions were added by this update.
Summary of changes:
airflow-core/.pre-commit-config.yaml | 3 +-
airflow-core/src/airflow/dag_processing/dagbag.py | 296 ++++-------------
.../airflow/dag_processing/importers}/__init__.py | 42 +--
.../src/airflow/dag_processing/importers/base.py | 266 +++++++++++++++
.../dag_processing/importers/python_importer.py | 360 +++++++++++++++++++++
.../unit/dag_processing/importers}/__init__.py | 0
.../unit/dag_processing/importers/test_registry.py | 99 ++++++
.../tests/unit/dag_processing/test_dagbag.py | 55 +---
8 files changed, 827 insertions(+), 294 deletions(-)
copy {shared/secrets_masker/src/airflow_shared/secrets_masker =>
airflow-core/src/airflow/dag_processing/importers}/__init__.py (60%)
create mode 100644 airflow-core/src/airflow/dag_processing/importers/base.py
create mode 100644
airflow-core/src/airflow/dag_processing/importers/python_importer.py
copy airflow-core/{src/airflow/_shared =>
tests/unit/dag_processing/importers}/__init__.py (100%)
create mode 100644
airflow-core/tests/unit/dag_processing/importers/test_registry.py