You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2024/11/14 13:35:50 UTC

(airflow) branch execution-time-code-in-task-sdk updated (6118a7fe392 -> 952d0782cfd)

This is an automated email from the ASF dual-hosted git repository.

ash pushed a change to branch execution-time-code-in-task-sdk
in repository https://gitbox.apache.org/repos/asf/airflow.git


    omit 6118a7fe392 Swap from root model to TypeAdapter
    omit 50a0d12b9c8 Use Pydantic and Gen client code
    omit 51cb9ad821e fixup! Code reviews
    omit ac08dad1dcc Add tests for error handling of our api Client
    omit 908e8e2fee6 Code reviews
    omit 37d58f72dc9 Start building the replacement task runner for Task Execution SDK
     add e4426c3d361 Remove non-existing field  from the ListCustomTrainingJobOperator's template_fields (#43924)
     add 66d86f51663 Update 'namespace' priority for 'find_pod' function (#43762)
     add b3362f841f3 Add "@asset" to decorate a function as a DAG and an asset (#41325)
     add 9a364acc1b8 AIP 84: Migrate GET ASSET EVENTS legacy API to fast API  (#43881)
     add b00a81000b1 Remove ORM references from datamodels for assets (#44010)
     add 2ef8438eecb move version imports to inside utils (#44018)
     add de15523d7c7 fix openlineage tests (#44025)
     add a81f69c344e Start building the replacement task runner for Task Execution SDK
     add 934f6844b15 Code reviews
     add 84c18d8a4aa Add tests for error handling of our api Client
     add f858bf0bb00 Use Pydantic and Gen client code
     add 2bf998a3075 Swap from root model to TypeAdapter
     add 952d0782cfd fixup! Swap from root model to TypeAdapter

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   (6118a7fe392)
            \
             N -- N -- N   refs/heads/execution-time-code-in-task-sdk (952d0782cfd)

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.

No new revisions were added by this update.

Summary of changes:
 airflow/api_connexion/endpoints/asset_endpoint.py  |   1 +
 airflow/api_fastapi/common/parameters.py           |  97 ++++++++-
 airflow/api_fastapi/core_api/datamodels/assets.py  |  43 +++-
 .../api_fastapi/core_api/openapi/v1-generated.yaml | 218 ++++++++++++++++++++-
 .../api_fastapi/core_api/routes/public/assets.py   |  64 +++++-
 airflow/assets/__init__.py                         |  34 ++--
 airflow/decorators/assets.py                       | 131 +++++++++++++
 ..._display_name.py => example_asset_decorator.py} |  38 ++--
 airflow/models/asset.py                            |  22 +++
 airflow/models/dag.py                              |   4 +-
 airflow/serialization/enums.py                     |   1 +
 airflow/serialization/schema.json                  |  17 +-
 airflow/serialization/serialized_objects.py        |   9 +-
 airflow/ui/openapi-gen/queries/common.ts           |  44 +++++
 airflow/ui/openapi-gen/queries/prefetch.ts         |  60 ++++++
 airflow/ui/openapi-gen/queries/queries.ts          |  69 +++++++
 airflow/ui/openapi-gen/queries/suspense.ts         |  69 +++++++
 airflow/ui/openapi-gen/requests/schemas.gen.ts     | 172 +++++++++++++++-
 airflow/ui/openapi-gen/requests/services.gen.ts    |  42 ++++
 airflow/ui/openapi-gen/requests/types.gen.ts       |  86 +++++++-
 airflow/utils/context.py                           |  21 +-
 airflow/utils/file.py                              |   4 +-
 .../providers/cncf/kubernetes/operators/pod.py     |   2 +-
 .../google/cloud/operators/vertex_ai/custom_job.py |   1 -
 .../src/airflow/providers/standard/__init__.py     |   9 -
 .../airflow/providers/standard/operators/python.py |   2 +-
 .../providers/standard/sensors/date_time.py        |   2 +-
 .../src/airflow/providers/standard/sensors/time.py |   2 +-
 .../providers/standard/sensors/time_delta.py       |   2 +-
 .../{__init__.py => utils/version_references.py}   |   0
 providers/tests/openlineage/plugins/test_utils.py  |   6 +-
 task_sdk/src/airflow/sdk/api/client.py             |   4 +-
 .../core_api/routes/public/test_assets.py          | 192 +++++++++++++++++-
 .../api_fastapi/core_api/routes/ui/test_assets.py  |   2 +-
 tests/decorators/test_assets.py                    | 177 +++++++++++++++++
 tests/timetables/test_assets_timetable.py          |   4 +-
 36 files changed, 1566 insertions(+), 85 deletions(-)
 create mode 100644 airflow/decorators/assets.py
 copy airflow/example_dags/{example_display_name.py => example_asset_decorator.py} (59%)
 copy providers/src/airflow/providers/standard/{__init__.py => utils/version_references.py} (100%)
 create mode 100644 tests/decorators/test_assets.py