kaxil commented on code in PR #55080:
URL: https://github.com/apache/airflow/pull/55080#discussion_r2311679666
##########
airflow-core/src/airflow/api_fastapi/execution_api/versions/v2025_09_23.py:
##########
@@ -28,3 +28,12 @@ class AddDagVersionIdField(VersionChange):
description = __doc__
instructions_to_migrate_to_previous_version =
(schema(TaskInstance).field("dag_version_id").didnt_exist,)
+
+
+class AcceptNullXComSetValue(VersionChange):
+ """Allow POST /xcoms/... value body to be JSON null in addition to JSON
strings/objects/arrays."""
+
+ description = __doc__
+ # This is a backward-compatible relaxation of input validation; older
clients are unaffected.
+ # No response transformation is needed when downgrading.
+ instructions_to_migrate_to_previous_version = ()
Review Comment:
We can remove this since technically `pydanticJsonValue` supports `None`
##########
airflow-core/src/airflow/api_fastapi/execution_api/versions/v2025_09_23.py:
##########
@@ -28,3 +28,12 @@ class AddDagVersionIdField(VersionChange):
description = __doc__
instructions_to_migrate_to_previous_version =
(schema(TaskInstance).field("dag_version_id").didnt_exist,)
+
+
+class AcceptNullXComSetValue(VersionChange):
+ """Allow POST /xcoms/... value body to be JSON null in addition to JSON
strings/objects/arrays."""
+
+ description = __doc__
+ # This is a backward-compatible relaxation of input validation; older
clients are unaffected.
+ # No response transformation is needed when downgrading.
+ instructions_to_migrate_to_previous_version = ()
Review Comment:
(so no server changes)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]