Any chance you have a toy script to play with?
CostlyOstrich36 all tasks are remote.
conrtoller - tried both
Hi RoughTiger69 , how are you running the pipeline? Locally or on agents? How is the controller running?
CostlyOstrich36 I confirm this was the case.
So :
module_a.py @PipelineDecorator.pipeline()... from module_b import my_func x = my_func()
` modele_b.py
@PipelineDecorator.component()
def my_func()
pass `
Under this circumstances, the pipeline is created correctly and run correctly
But when I clone it (or click “Run” and submit) - it fails with the error above.
Moving my_func from module_a to module_b solves this.
To me this looks like a bug or unreasonable and undocumented limitation
CostlyOstrich36 I’ve tried the pipeline_from_decorator.py example and it works.
Could it be a sensitivity to some components being on a different python .py file relative to the controller itself?