uranusjr commented on code in PR #55169:
URL: https://github.com/apache/airflow/pull/55169#discussion_r2318413728
##########
airflow-core/tests/unit/utils/test_task_group.py:
##########
@@ -195,11 +197,10 @@
"tooltip": "",
"type": "task",
},
- {"id": "task5", "label": "task5", "operator": "EmptyOperator", "type":
"task"},
],
"id": None,
"is_mapped": False,
- "label": None,
+ "label": "",
Review Comment:
The default is None in SDK but we coerce on serialisation. (I’d say the
default in SDK should be an empty string too since `DAGNode.label` is annotated
as `str`, not `str | None`, but it shouldn’t cause any harm in dag code either
way.
--
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]