https://dagster.io/ logo
Title
c

Chaitya

05/17/2023, 6:20 PM
Hey folks, why do I need to specify resources in my run_config if they're being specified in the materialize call? for example:
_ = materialize([assets], run_config={...}, resources={"my_io_manager": my_io_manager})
Why does this throw an error that my_io_manager isn't found in the run config?
Conversely for resources, even if I provide the resource via the run config, I get an error when it isn't provided in the materialize call.
dagster._core.errors.DagsterInvalidDefinitionError: resource with key 'some_resource' required by op 'my_op' was not provided.
j

jamie

05/17/2023, 6:53 PM
hey @Chaitya you should just be able to specify resources in the
resources
parameter. can you explain more about what exactly you’re doing that results in the error?