path_map in add_conditional_edges doesn't support list of nodes as values. #2405
balalofernandez
started this conversation in
Discussions
Replies: 1 comment 1 reply
-
This fix is needed for the draw_marmaid function to draw the graph correctly |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In a Node you can add multiple edges to different nodes using
add_edge
. Similarly, you can return a list of nodes to navigate in a conditional edge.and then
However, this behaviour is not supported when using
path_map: Optional[dict[Hashable, str]]
since the values here have to be string. Ideally, one could do something like:but this throws a
TypeError: unhashable type: 'list'
.Beta Was this translation helpful? Give feedback.
All reactions