mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-28 10:49:56 +02:00
Add note to docstring (#1035)
This commit is contained in:
@@ -217,6 +217,10 @@ class Graph:
|
||||
|
||||
Returns:
|
||||
None
|
||||
|
||||
Note: Without typehints on the `path` function's return value (e.g., `-> Literal["foo", "__end__"]:`)
|
||||
or a path_map, the graph visualization assumes the edge could transition to any node in the graph.
|
||||
|
||||
""" # noqa: E501
|
||||
if self.compiled:
|
||||
logger.warning(
|
||||
|
||||
Reference in New Issue
Block a user