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 736ebfe3fe Fix tests/models/test_variable.py for database isolation
mode (#41414)
add 6570c6d1bb Remove deprecated SubDags (#41390)
No new revisions were added by this update.
Summary of changes:
airflow/api/common/delete_dag.py | 26 +-
airflow/api/common/mark_tasks.py | 106 +-
airflow/api/common/trigger_dag.py | 30 +-
airflow/api_connexion/endpoints/dag_endpoint.py | 7 +-
.../api_connexion/endpoints/dag_run_endpoint.py | 4 -
airflow/api_connexion/openapi/v1.yaml | 17 -
airflow/api_connexion/schemas/dag_schema.py | 2 -
.../api_connexion/schemas/task_instance_schema.py | 2 -
airflow/api_connexion/schemas/task_schema.py | 2 -
airflow/cli/cli_config.py | 8 -
airflow/cli/commands/dag_command.py | 3 -
airflow/cli/commands/task_command.py | 2 -
airflow/dag_processing/processor.py | 2 -
airflow/example_dags/example_subdag_operator.py | 70 -
airflow/example_dags/subdags/__init__.py | 17 -
airflow/example_dags/subdags/subdag.py | 56 -
airflow/jobs/backfill_job_runner.py | 28 +-
.../versions/0003_3_0_0_remove_is_subdag.py | 76 +
airflow/models/baseoperator.py | 5 -
airflow/models/dag.py | 174 +-
airflow/models/dagbag.py | 59 +-
airflow/models/dagrun.py | 1 -
airflow/models/mappedoperator.py | 6 -
airflow/models/serialized_dag.py | 21 +-
airflow/models/taskinstance.py | 7 +-
airflow/operators/__init__.py | 4 -
airflow/operators/subdag.py | 247 ---
.../celery/executors/celery_executor_utils.py | 3 +-
airflow/providers/cncf/kubernetes/operators/pod.py | 5 +-
.../cncf/kubernetes/operators/spark_kubernetes.py | 2 +-
.../providers/fab/auth_manager/fab_auth_manager.py | 2 +-
.../fab/auth_manager/security_manager/override.py | 4 +-
airflow/serialization/pydantic/dag.py | 3 -
airflow/serialization/schema.json | 1 -
airflow/serialization/serialized_objects.py | 5 -
airflow/utils/db.py | 2 +-
airflow/utils/task_group.py | 8 +-
.../www/static/js/dag/details/taskInstance/Nav.tsx | 24 +-
.../static/js/dag/details/taskInstance/index.tsx | 2 -
airflow/www/static/js/types/api-generated.ts | 8 -
airflow/www/templates/airflow/dag.html | 40 +-
airflow/www/views.py | 11 +-
.../administration-and-deployment/pools.rst | 5 -
docs/apache-airflow/core-concepts/dags.rst | 92 +-
docs/apache-airflow/core-concepts/overview.rst | 2 +-
docs/apache-airflow/img/airflow_erd.sha256 | 2 +-
docs/apache-airflow/img/airflow_erd.svg | 2206 ++++++++++----------
docs/apache-airflow/img/subdag_after.png | Bin 30245 -> 0 bytes
docs/apache-airflow/img/subdag_before.png | Bin 70382 -> 0 bytes
docs/apache-airflow/img/subdag_zoom.png | Bin 145017 -> 0 bytes
docs/apache-airflow/migrations-ref.rst | 17 +-
docs/apache-airflow/operators-and-hooks-ref.rst | 3 -
newsfragments/41390.significant.rst | 14 +
tests/always/test_example_dags.py | 5 -
tests/api_connexion/endpoints/test_dag_endpoint.py | 78 +-
.../endpoints/test_dag_run_endpoint.py | 16 +-
.../endpoints/test_dag_stats_endpoint.py | 2 +-
tests/api_connexion/endpoints/test_log_endpoint.py | 6 +-
.../endpoints/test_task_instance_endpoint.py | 60 +-
tests/api_connexion/schemas/test_dag_schema.py | 10 -
tests/api_experimental/common/test_delete_dag.py | 18 +-
tests/api_experimental/common/test_mark_tasks.py | 40 +-
tests/api_experimental/common/test_trigger_dag.py | 40 +-
tests/cli/commands/test_task_command.py | 16 -
tests/conftest.py | 11 +-
tests/core/test_impersonation_tests.py | 5 -
tests/dags/test_clear_subdag.py | 72 -
tests/dags/test_impersonation_subdag.py | 55 -
tests/dags/test_subdag.py | 86 -
tests/jobs/test_backfill_job.py | 148 --
tests/jobs/test_local_task_job.py | 2 +-
tests/jobs/test_scheduler_job.py | 4 +-
tests/models/test_dag.py | 280 +--
tests/models/test_dagbag.py | 269 +--
tests/models/test_dagcode.py | 2 -
tests/models/test_serialized_dag.py | 12 +-
tests/operators/test_subdag_operator.py | 376 ----
tests/operators/test_trigger_dagrun.py | 2 +-
tests/providers/fab/auth_manager/test_security.py | 40 -
tests/sensors/test_external_task_sensor.py | 14 +-
tests/serialization/test_dag_serialization.py | 13 -
tests/utils/test_cli_util.py | 5 +-
tests/www/views/test_views.py | 4 +-
tests/www/views/test_views_acl.py | 26 +-
tests/www/views/test_views_blocked.py | 90 -
tests/www/views/test_views_decorators.py | 17 +-
tests/www/views/test_views_log.py | 4 +-
tests/www/views/test_views_tasks.py | 44 +-
88 files changed, 1397 insertions(+), 3918 deletions(-)
delete mode 100644 airflow/example_dags/example_subdag_operator.py
delete mode 100644 airflow/example_dags/subdags/__init__.py
delete mode 100644 airflow/example_dags/subdags/subdag.py
create mode 100644 airflow/migrations/versions/0003_3_0_0_remove_is_subdag.py
delete mode 100644 airflow/operators/subdag.py
delete mode 100644 docs/apache-airflow/img/subdag_after.png
delete mode 100644 docs/apache-airflow/img/subdag_before.png
delete mode 100644 docs/apache-airflow/img/subdag_zoom.png
create mode 100644 newsfragments/41390.significant.rst
delete mode 100644 tests/dags/test_clear_subdag.py
delete mode 100644 tests/dags/test_impersonation_subdag.py
delete mode 100644 tests/dags/test_subdag.py
delete mode 100644 tests/operators/test_subdag_operator.py
delete mode 100644 tests/www/views/test_views_blocked.py