You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2023/03/08 00:28:02 UTC
[airflow] branch main updated (e0fadf9ce9 -> f4ec3893ab)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
from e0fadf9ce9 Replace deprecated k8s registry references (#29938)
add f4ec3893ab Add Pydantic-powered ORM models serialization for internal API. (#29776)
No new revisions were added by this update.
Summary of changes:
.../{api_connexion => jobs/pydantic}/__init__.py | 0
.../pydantic/base_job.py} | 36 +++--
.../{api_connexion => models/pydantic}/__init__.py | 0
airflow/models/pydantic/dag_run.py | 50 +++++++
airflow/models/pydantic/dataset.py | 92 +++++++++++++
airflow/models/pydantic/taskinstance.py | 59 ++++++++
airflow/utils/context.pyi | 11 +-
pyproject.toml | 7 +
setup.cfg | 1 +
tests/models/test_pydantic_models.py | 151 +++++++++++++++++++++
10 files changed, 388 insertions(+), 19 deletions(-)
copy airflow/{api_connexion => jobs/pydantic}/__init__.py (100%)
copy airflow/{api_connexion/schemas/sla_miss_schema.py => jobs/pydantic/base_job.py} (53%)
copy airflow/{api_connexion => models/pydantic}/__init__.py (100%)
create mode 100644 airflow/models/pydantic/dag_run.py
create mode 100644 airflow/models/pydantic/dataset.py
create mode 100644 airflow/models/pydantic/taskinstance.py
create mode 100644 tests/models/test_pydantic_models.py