Replies: 2 comments
-
Experiencing the same issue, would be great to fix it or at least understand why it behaves this way. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Any updates on this issue? |
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.
-
Let's say we have the following graph:
The output is:
After I added
node_b_edge
afternode_b
, I was expecting this function to accept aState
with aprivate_b
field, or at least a completeState
. However, the function actually accepts a parameter of typeNodeBInput
instead ofState
! This is very confusing and results in an error if I wish to use theprivate_b
field to determine the output ofnode_b_edge
.Nonetheless, when I ditched the BaseModel and used TypedDict, the run results were:
Well, at least I was able to access the
private_b
, So I guess the problems here associated with the use of BaseModel.Is this behavior expected? How can I access
private_b
when using BaseModel?Beta Was this translation helpful? Give feedback.
All reactions