Replies: 1 comment
-
Still looking for clarity on this. It seems to be working fine when I put the no-op node in between, but that seems weird to me so I want to verify my understanding before continuing to build on top of this. |
Beta Was this translation helpful? Give feedback.
0 replies
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 my state I have a list of colleges and I am using a map reduce pattern to try to refine data about each college. However, what I'm confused about is when the reduce is happening or not happening.
Looking at the following graph
gather_all_college_data basically does the Send for each college
return [Send("gather_college_info", {"college": c}) for c in state["colleges"]]
As the code is alove (with debug state commented out) I was surprised to see that should_continue_gathering runs N times (where N is number of colleges). If I put debug state node in the graph it runs once. Is there an issue having the two conditional edges back to back?
Beta Was this translation helpful? Give feedback.
All reactions