0.1.dev2184+g1e0cbe7.d20250401
Directory
Methods
Methods
add_sys_path()
def add_sys_path(
path: typing.Union[str, os.PathLike],
) -> typing.Iterator[NoneType]
Temporarily add given path to sys.path
.
Parameter |
Type |
path |
typing.Union[str, os.PathLike] |
just_load_modules()
def just_load_modules(
pkgs: typing.List[str],
)
This one differs from the above in that we don’t yield anything, just load all the modules.
Parameter |
Type |
pkgs |
typing.List[str] |
load_object_from_module()
def load_object_from_module(
object_location: str,
) -> typing.Any
TODO: Handle corner cases, like where the first part is [] maybe
Parameter |
Type |
object_location |
str |
module_load_error_handler()
def module_load_error_handler(
args,
kwargs,
)
Parameter |
Type |
args |
*args |
kwargs |
**kwargs |