ashb commented on code in PR #48648:
URL: https://github.com/apache/airflow/pull/48648#discussion_r2025490845
##########
airflow-core/src/airflow/models/renderedtifields.py:
##########
@@ -61,7 +61,12 @@ def get_serialized_template_fields(task: Operator):
:meta private:
"""
- return {field: serialize_template_field(getattr(task, field), field) for
field in task.template_fields}
+ return {
+ field: serialize_template_field(
+ getattr(task, field), field, allow_tuple_conversion=field ==
"op_args"
Review Comment:
Why so we only allow tuples in one place? Any task argument could be a tuple
couldn't it?
--
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]