Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions airflow-core/src/airflow/utils/dot_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def _draw_task(
def _draw_task_group(
task_group: TaskGroup | SerializedTaskGroup,
parent_graph: graphviz.Digraph,
states_by_task_id: dict[str, str] | None,
states_by_task_id: dict[str, str | None] | None,
) -> None:
"""Draw the given task_group and its children on the given parent_graph."""
# Draw joins
Expand Down Expand Up @@ -136,7 +136,7 @@ def _draw_task_group(


def _draw_nodes(
node: DependencyMixin, parent_graph: graphviz.Digraph, states_by_task_id: dict[str, str] | None
node: DependencyMixin, parent_graph: graphviz.Digraph, states_by_task_id: dict[str, str | None] | None
) -> None:
"""Draw the node and its children on the given parent_graph recursively."""
if isinstance(node, (BaseOperator, MappedOperator, SerializedBaseOperator, SerializedMappedOperator)):
Expand Down