How passing parameters between operations (Ops) #16739
alexasha66
started this conversation in
Community
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm new to dagster and need help understanding how to pass parameters (like a dictionary) between operations (Ops)
The example below works, and passing input parameters between
prn_op(sub_op_1()) passes, but
If you remove the comment from the code below prn_op(sub_op_1()) , an error occurs:
dagster._core.errors.DagsterInvalidDefinitionError: In @job main_elt, received invalid type <class 'test.MyOpConfig'> for input "ins" (at position 0) in op invocation "sub_op2". Must pass the output from previous node invocations or inputs to the composition function as inputs when invoking nodes during composition.
Beta Was this translation helpful? Give feedback.
All reactions