Paul Wyatt
11/20/2020, 5:42 PMdagster.core.errors.DagsterInvariantViolationError: Reconstructable target should be a function or definition produced by a decorated function, got <class 'dagster.core.definitions.pipeline.PipelineDefinition'>
The use case is writing tests for hook-decorated pipelines. Another potentially workable solution would be if hooks could be applied as part of an execute_pipeline
call.alex
11/20/2020, 5:43 PMdef get_pipeline():
return my_pipeline
...
reconstructable(get_pipeline)
Paul Wyatt
11/20/2020, 6:32 PMalex
11/20/2020, 7:07 PM