Add note to docstring (#1035)

This commit is contained in:
William FH
2024-07-16 08:43:49 -07:00
committed by GitHub
parent 09c5ebc94d
commit 6fd1dc5697
+4
View File
@@ -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(