https://dagster.io/ logo
Title
s

saravan kumar

11/07/2022, 6:16 AM
Hi All ,
node_type=self.node_def.node_type_str,
dagster._core.errors.DagsterInvalidDefinitionError: In @job met_data_ingestion, received invalid type <class 'str'> for input "etl_type" (at position 0) in op invocation "get_last_run_cycle_time". Must pass the output from previous node invocations or inputs to the composition function as inputs when invoking nodes during composition.
What could cause this? I have a common Ops which need to accept a string parameter and return some values... The error looks like i cant just pass a string as a input to ops , i can only pass output of an another ops? My requirement is simple for enough to be a simple string .. I call the common ops and get value and i pass them to the next ops ;it goes on like this.. How to over come this?
y

yuhan

11/11/2022, 2:00 AM
do you mind sharing the code snippet?