Ben Sully
06/22/2020, 3:56 PMreconstructable
, but as soon as I do that I can't include it in a repository. the trimmed backtrace is this, although i think there's a bug there, and i think the actual root is that the repository
decorator doesn't accept ReconstructablePipeline
objects:
File "/home/ben/repos/dataplatform-poc/pipelines/dataplatform/repository.py", line 6, in <module>
@repository
File "/home/ben/.pyenv/versions/3.7.5/envs/dataplatform-poc/lib/python3.7/site-packages/dagster/core/definitions/decorators/repository.py", line 225, in repository
return _Repository()(name)
File "/home/ben/.pyenv/versions/3.7.5/envs/dataplatform-poc/lib/python3.7/site-packages/dagster/core/definitions/decorators/repository.py", line 44, in __call__
bad_definitions.append(i, type(definition))
TypeError: append() takes exactly one argument (2 given)
alex
06/22/2020, 4:22 PMreconstructable
at the call siteBen Sully
06/22/2020, 4:26 PMalex
06/22/2020, 4:29 PMexecute_pipeline
in a python script or using the cli or using dagitBen Sully
06/22/2020, 4:32 PMalex
06/22/2020, 4:32 PMBen Sully
06/22/2020, 4:33 PMalex
06/22/2020, 4:34 PMBen Sully
06/22/2020, 4:35 PMrun_step_from_ref(step_run_ref)
on a pickled step_run_ref
file to run the pipeline which seems to be the bit that fails 🙂step_run_ref.recon_pipeline
in to create_execution_plans
Ben Sully
06/22/2020, 4:58 PMalex
06/22/2020, 8:31 PMcreate_execution_plan
callsites which turned out to be too much)Ben Sully
06/23/2020, 7:21 AMalex
06/23/2020, 2:19 PM