remove redundant assignment `parallel = None`

This line duplicates the assignment at line 270 and is therefore unnecessary.
pull/22791/head
Yongtao Huang 7 months ago committed by GitHub
parent 7ec5cb03c0
commit e9c43793b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -287,7 +287,6 @@ class Graph(BaseModel):
condition_parallels = {}
for condition_hash, condition_parallel_branch_node_ids in parallel_branch_node_ids.items():
# any target node id in node_parallel_mapping
parallel = None
if condition_parallel_branch_node_ids:
parent_parallel_id = parent_parallel.id if parent_parallel else None

Loading…
Cancel
Save