I mean to use a function decorated with PipelineDecorator.pipeline
inside another pipeline decorated in the same way.
In the traceback attached below you can see that I am trying to use a component named user_config_creation
inside the create_user_configs
sub-pipeline. I have imported user_config_creation
inside create_user_configs
but a KeyError
is raised (however I assume the function has been imported correctly because no ImportError
or ModuleNotFoundError
occurred). Any clue on what might be going on? BTW, executing_pipeline
is the name of the main pipeline.Traceback (most recent call last): File "/user/project/new_pipeline.py", line 104, in <module> executing_pipeline() File "/user/anaconda3/envs/myenv/lib/python3.9/site-packages/clearml/automation/controller.py", line 2213, in internal_decorator func(**pipeline_kwargs) File "/user/project/new_pipeline.py", line 58, in executing_pipeline users_config_filenames = create_user_configs( File "/user/anaconda3/envs/myenv/lib/python3.9/site-packages/clearml/automation/controller.py", line 2213, in internal_decorator func(**pipeline_kwargs) File "/user/project/new_pipeline.py", line 29, in create_user_configs users_config_filenames[name] = user_config_creation( File "/user/anaconda3/envs/myenv/lib/python3.9/site-packages/clearml/automation/controller.py", line 2058, in wrapper _node = cls._singleton._nodes[_name] KeyError: 'user_config_creation'