This commit is contained in:
Nuno Campos
2025-01-30 16:28:03 -08:00
parent 4a60eaf32f
commit 5a79210904
+6 -6
View File
@@ -222,12 +222,12 @@ class PregelNode(Runnable):
return self.bound
def join(self, channels: Sequence[str]) -> PregelNode:
assert isinstance(channels, list) or isinstance(channels, tuple), (
"channels must be a list or tuple"
)
assert isinstance(self.channels, dict), (
"all channels must be named when using .join()"
)
assert isinstance(channels, list) or isinstance(
channels, tuple
), "channels must be a list or tuple"
assert isinstance(
self.channels, dict
), "all channels must be named when using .join()"
return self.copy(
update=dict(
channels={