fix(base.py): update get_successors function call to include 'recursive=False' parameter (#2504)

This fixes a bug where components were called in the wrong order.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-07-03 12:22:37 -03:00 committed by GitHub
commit ef870cbf85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1230,7 +1230,7 @@ class Graph:
stack.append(successor.id)
else:
excluded.add(successor.id)
all_successors = get_successors(successor)
all_successors = get_successors(successor, recursive=False)
for successor in all_successors:
if is_start:
stack.append(successor.id)