kaxil commented on code in PR #44843:
URL: https://github.com/apache/airflow/pull/44843#discussion_r1883540029


##########
airflow/serialization/helpers.py:
##########
@@ -43,6 +43,10 @@ def is_jsonable(x):
 
     max_length = conf.getint("core", "max_templated_field_length")
 
+    # Handle empty set or tuple explicitly
+    if isinstance(template_field, (set, tuple)) and not template_field:
+        return []

Review Comment:
   This makes the return type of this function correct as previously it did 
return an empty tuple



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to