This is an automated email from the ASF dual-hosted git repository.
weilee pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
from 702b51a7d4b Fix PythonVirtualenvOperator cannot run with pendulum<3
(#62604)
add e4e81ed0f2c AIP-76: Implement AllowedKeyMapper for partition key
validation (#61931)
No new revisions were added by this update.
Summary of changes:
.../example_dags/example_asset_partition.py | 41 ++++++++++++++++++
.../partition_mappers/{base.py => allowed_key.py} | 26 ++++++------
airflow-core/src/airflow/serialization/encoders.py | 6 +++
.../unit/partition_mappers/test_allowed_key.py | 48 ++++++++++++++++++++++
.../unit/serialization/test_serialized_objects.py | 25 +++++++++++
task-sdk/docs/api.rst | 2 +
task-sdk/src/airflow/sdk/__init__.py | 3 ++
task-sdk/src/airflow/sdk/__init__.pyi | 2 +
.../{identity.py => allowed_key.py} | 9 ++--
9 files changed, 143 insertions(+), 19 deletions(-)
copy airflow-core/src/airflow/partition_mappers/{base.py => allowed_key.py}
(61%)
create mode 100644
airflow-core/tests/unit/partition_mappers/test_allowed_key.py
copy task-sdk/src/airflow/sdk/definitions/partition_mappers/{identity.py =>
allowed_key.py} (80%)