mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-26 17:42:24 +02:00
Add comment
This commit is contained in:
@@ -51,6 +51,7 @@ class PubSub(Runnable[Any, Any], ABC):
|
||||
run_manager: CallbackManagerForChainRun,
|
||||
config: RunnableConfig,
|
||||
) -> Iterator[Any]:
|
||||
# Split processes into subscribers and reducers, and group by topic
|
||||
subscribers: defaultdict[str, list[RunnableSubscriber[Any]]] = defaultdict(list)
|
||||
reducers: defaultdict[str, list[RunnableReducer[Any]]] = defaultdict(list)
|
||||
for process in self.processes:
|
||||
|
||||
Reference in New Issue
Block a user