hgicommon/data_source/dynamic_from_file.py
def _load_module(path: str):
        """
        Dynamically loads the python module at the given path.
        :param path: the path to load the module from
        """
        spec = spec_from_file_location(os.path.basename(path), path)
        module = module_from_spec(spec)
        spec.loader.exec_module(module)
def _load_module(path: str):
        """
        Dynamically loads the python module at the given path.
        :param path: the path to load the module from
        """
        spec = spec_from_file_location(os.path.basename(path), path)
        module = module_from_spec(spec)
        spec.loader.exec_module(module)
def _load_module ( path : str ) : spec = spec_from_file_location ( os . path . basename ( path ) , path ) module = module_from_spec ( spec ) spec . loader . exec_module ( module )
Dynamically loads the python module at the given path.
        :param path: the path to load the module from
Dynamically loads the python module at the given path . : param path : the path to load the module from