You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 0.17.X it was possible to override the parameters specified in globals.yml with extra_params from cli at runtime and access it in pipeline_registry.py to configure the behaviour of the pipelines. However, when migrated to 0.18.1 it seems impossible to do due to the complete deprecation of the register_config_loader hook. I have implemented a custom config loader as suggested in #1527. However, I still struggle to access the overridden parameter in my pipeline_registry.py.
Context
In my pipeline_registry.py I want to have access to the extra_params: mode=mode1 like here:
Hello @youth-quaker. This is something that is unfortunately not as easy as it used to be, but I think there's an ok way of doing it - see #1436 (reply in thread). In your case you would set a global variable mode in the after_context_created hook, and then import it into register_pipelines.
Description
In 0.17.X it was possible to override the parameters specified in
globals.yml
withextra_params
from cli at runtime and access it inpipeline_registry.py
to configure the behaviour of the pipelines. However, when migrated to 0.18.1 it seems impossible to do due to the complete deprecation of theregister_config_loader
hook. I have implemented a custom config loader as suggested in #1527. However, I still struggle to access the overridden parameter in mypipeline_registry.py
.Context
In my
pipeline_registry.py
I want to have access to theextra_params: mode=mode1
like here:In 0.17.7 I was able to access
mode
directly from theregister_config_loader
hook:Close to issues #1411, #666, #1527
Environment
The text was updated successfully, but these errors were encountered: