From 5a79210904467d85651b453f143fe9ec46090e5c Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Thu, 30 Jan 2025 16:28:03 -0800 Subject: [PATCH] Lint --- libs/langgraph/langgraph/pregel/read.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/langgraph/langgraph/pregel/read.py b/libs/langgraph/langgraph/pregel/read.py index 02e466475..e3d5aab3d 100644 --- a/libs/langgraph/langgraph/pregel/read.py +++ b/libs/langgraph/langgraph/pregel/read.py @@ -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={