dixel
02/15/2022, 4:36 PMdownload.execute_in_process(resources={"api": ResourceDefinition.mock_resource()})
as execute_in_process
method doesn't have resources
or resource_defs
parameter (https://docs.dagster.io/_apidocs/jobs#dagster.JobDefinition.execute_in_process). I found some workarounds (converting all the jobs to graphs, and passing resource_defs in there), but wondering if resources
is still expected to be part of execute_in_process
.claire
02/15/2022, 6:29 PMexecute_in_process
method for graphs contains a resource parameter: https://docs.dagster.io/_apidocs/execution#executing-graphs
Alternatively, you could convert your graphs to jobs and pass resource_defs
from there.dixel
02/16/2022, 8:57 AMto_job
for normal execution, or execute_in_process
for testing.