fani-lab / ReQue

A Benchmark Workflow and Dataset Collection for Query Refinement
https://hosseinfani.github.io/ReQue/
Other
0 stars 13 forks source link

Dynamic import of packages #22

Open hosseinfani opened 1 year ago

hosseinfani commented 1 year ago

Depending on what refiner is on in param.py, we can dynamically import the module related to it:

logging.info('Dynamically importing : %s', module_to_import) imported_lib = importlib.import_module(module_to_import)