https://dagster.io/ logo
#dagster-support
Title
# dagster-support
d

Daniel Mosesson

05/31/2022, 9:13 PM
I want to pass a list of
CustomType
via config. I tried annotating
CustomType
with
@usable_as_dagster_type
and get the same error message: Input <foo> in op 'myOp' is not connected to the output of a previous node and can not be loaded from configuration, making it impossible to execute. Possible solutions are: • add a dagster_type_loader for type <CustomType> • connect <foo> to the output of another node I am trying to set this from a sensor if that makes sense
o

owen

05/31/2022, 9:45 PM
hi @Daniel Mosesson do you mind sharing the config that you're generating in the sensor?
d

Daniel Mosesson

05/31/2022, 9:48 PM
RunRequest(run_key='foo', run_config={'ops':{'myOps':{'config': {'foo': [<instance of CustomType>]}}}}
o

owen

05/31/2022, 9:52 PM
ah gotcha -- I believe it should be
{'ops':{'myOps':{'inputs': {'foo': [<instance of CustomType>]}}}}
(basically "config" -> "inputs")