This is an automated email from the ASF dual-hosted git repository.
ash pushed a change to branch resume-deferred-operator-tasksdk
in repository https://gitbox.apache.org/repos/asf/airflow.git
omit 62bcbea397f Correctly support resuming tasks after triggers
add bb6be350c0f Auto-generate the Pydantic datamodels for TaskSDK in
pre-commit (#47026)
add 8379804182a AIP-65 | Add dag versions to DAGRunResponse (#46484)
add 05079fd7f02 Don't run the webserver anymore on Airflow3 with `breeze
start-airflow`. (#47060)
new b890aa32bbd Correctly support resuming tasks after triggers
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (62bcbea397f)
\
N -- N -- N refs/heads/resume-deferred-operator-tasksdk
(b890aa32bbd)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.pre-commit-config.yaml | 9 ++
airflow/api_fastapi/core_api/datamodels/dag_run.py | 2 +
.../api_fastapi/core_api/openapi/v1-generated.yaml | 6 +
airflow/api_fastapi/execution_api/app.py | 8 ++
.../execution_api/datamodels/taskinstance.py | 8 +-
.../execution_api/routes/task_instances.py | 10 +-
airflow/models/baseoperator.py | 45 +-------
airflow/models/dagrun.py | 6 +-
airflow/ui/openapi-gen/requests/schemas.gen.ts | 8 ++
airflow/ui/openapi-gen/requests/types.gen.ts | 1 +
contributing-docs/08_static_code_checks.rst | 2 +
dev/breeze/doc/images/output_static-checks.svg | 34 +++---
dev/breeze/doc/images/output_static-checks.txt | 2 +-
dev/breeze/src/airflow_breeze/pre_commit_ids.py | 1 +
dev/datamodel_code_formatter.py | 66 +++++++++++
scripts/in_container/bin/run_tmux | 24 ++--
task_sdk/dev/generate_models.py | 99 ++++++++++++++++
task_sdk/pyproject.toml | 12 +-
.../src/airflow/sdk/api/datamodels/_generated.py | 12 +-
.../airflow/sdk/definitions/_internal/templater.py | 11 +-
.../src/airflow/sdk/definitions/baseoperator.py | 71 +++++++++++-
task_sdk/src/airflow/sdk/execution_time/comms.py | 6 +-
.../src/airflow/sdk/execution_time/task_runner.py | 13 ++-
task_sdk/tests/api/test_client.py | 6 +-
task_sdk/tests/execution_time/test_supervisor.py | 8 +-
task_sdk/tests/execution_time/test_task_runner.py | 4 +-
tests/api_fastapi/conftest.py | 55 ++++-----
.../core_api/routes/public/test_assets.py | 2 +
.../core_api/routes/public/test_dag_run.py | 125 +++++++++++----------
tests/api_fastapi/core_api/routes/ui/test_dags.py | 2 +
.../execution_api/routes/test_task_instances.py | 6 +-
.../commands/remote_commands/test_asset_command.py | 8 +-
32 files changed, 470 insertions(+), 202 deletions(-)
create mode 100644 dev/datamodel_code_formatter.py
create mode 100644 task_sdk/dev/generate_models.py