amoghrajesh commented on code in PR #48648:
URL: https://github.com/apache/airflow/pull/48648#discussion_r2028357857


##########
airflow-core/src/airflow/serialization/helpers.py:
##########
@@ -71,7 +66,7 @@ def translate_tuples_to_lists(obj: Any):
             )
         return serialized
     else:
-        if not template_field:
+        if not template_field and not isinstance(template_field, tuple):

Review Comment:
   I'm not so sure why this check is needed?
   
   Is it specific only for empty tuple case? Instead my proposal was to call 
`translate_tuples_to_lists` even before any of this, somewhere near 
https://github.com/apache/airflow/pull/48648/files#diff-208ad60f53c30e39ca40559db277c2aca9ab92fe20b34afa4fc71c5518390720R54



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