navigate.tools.common_functions.load_module_from_file
- navigate.tools.common_functions.load_module_from_file(module_name: str, file_path: str) → Optional[Any]
This function will load python file from file path as a module
- Parameters:
module_name (str) – the module name
file_path (str) – the python file path
- Returns:
module – The module. None if the module cannot be imported.
- Return type:
Optional[Any]