Vamsi-klu commented on code in PR #72242:
URL: https://github.com/apache/airflow/pull/72242#discussion_r4002488655


##########
airflow-core/src/airflow/serialization/serialized_objects.py:
##########
@@ -1100,7 +1110,10 @@ def _serialize_node(cls, op: SdkOperator) -> dict[str, 
Any]:
                     )
                 value = getattr(op, template_field, None)
                 if not cls._is_excluded(value, template_field, op):
-                    serialize_op[template_field] = 
serialize_template_field(value, template_field)
+                    if isinstance(value, (DagParam, SerializedDagParam)):

Review Comment:
   Good point. I removed the special template-field serialization and 
deserialization paths in `f752022d15`, so non-mapped template fields keep their 
existing stable JSON form and this fix stays scoped to mapped `.partial()`.
   
   ---
   Drafted-by: Codex (GPT-5); reviewed by @Vamsi-klu before posting



-- 
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]

Reply via email to