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 102e8536e0d Improve speed of tests by not creating connections at
parse time (#45690)
add 2841ca95b48 AIP-72: Support DAG parsing context in Task SDK (#45694)
No new revisions were added by this update.
Summary of changes:
.../cli/commands/remote_commands/dag_command.py | 2 +-
airflow/task/standard_task_runner.py | 2 +-
airflow/utils/dag_parsing_context.py | 49 +++++----------------
.../howto/dynamic-dag-generation.rst | 2 +-
newsfragments/45694.significant.rst | 51 ++++++++++++++++++++++
.../celery/executors/celery_executor_utils.py | 2 +-
scripts/cov/core_coverage.py | 1 -
task_sdk/src/airflow/sdk/__init__.py | 4 +-
.../definitions/_internal}/dag_parsing_context.py | 25 +----------
task_sdk/src/airflow/sdk/definitions/context.py | 27 +++++++++++-
.../src/airflow/sdk/execution_time/task_runner.py | 5 ++-
.../tests/dags/dag_parsing_context.py | 12 +++--
task_sdk/tests/execution_time/test_task_runner.py | 40 +++++++++++++++++
tests/dags/test_dag_parsing_context.py | 2 +-
tests/dags/test_parsing_context.py | 7 +--
15 files changed, 147 insertions(+), 84 deletions(-)
create mode 100644 newsfragments/45694.significant.rst
copy {airflow/utils =>
task_sdk/src/airflow/sdk/definitions/_internal}/dag_parsing_context.py (65%)
copy tests/dags/test_dag_parsing_context.py =>
task_sdk/tests/dags/dag_parsing_context.py (78%)