Dylan Hunt
02/01/2022, 4:01 PMUserWarning: Module builder was resolved using the working directory. The ability to load uninstalled modules from the working directory is deprecated and will be removed in a future release. Please use the python-file based load arguments or install builder to your python environment.
warnings.warn(
reconstructable_pipeline = build_reconstructable_pipeline(
'builder',
'reconstruct_pipeline',
reconstructable_args=(pipe,)
)
Is there a way to pass module name here, coz it is expecting first 2 arguments as string.alex
02/01/2022, 4:09 PMbuilder
was resolved only when using the current working directory and its not something thats installed in the current python environmentprha
02/01/2022, 4:11 PM0.13.14
?)Dylan Hunt
02/01/2022, 4:13 PMimportlib.import_module(module_name)
to import that module then the function from it using second argument. But it is how it is designed then why it is asking me to use python-file based load arguments or install it as library. If it is possible I can directly pass the function object here.0.13.14
prha
02/01/2022, 4:18 PM0.13.14
, but it may have been 0.13.15
Dylan Hunt
02/01/2022, 4:46 PMalex
02/01/2022, 4:52 PMDylan Hunt
02/01/2022, 5:13 PM