This commit is contained in:
Nuno Campos
2024-12-03 15:52:41 -08:00
parent a203ddecf7
commit 1bee33db3a
+1 -1
View File
@@ -849,7 +849,7 @@ def _control_branch(value: Any) -> Sequence[Union[str, Send]]:
async def _acontrol_branch(value: Any) -> Sequence[Union[str, Send]]:
if isinstance(value, Send):
return [value]
if not isinstance(value, GraphCommand):
if not isinstance(value, Command):
return EMPTY_SEQ
if value.graph == Command.PARENT:
raise ParentCommand(value)