minos.common.importlib

Functions

classname(cls)

Compute the given class full name.

get_internal_modules()

Get the list of internal minos modules.

import_module(module_name)

Import the given module from a package

import_module(module_name)[source]

Import the given module from a package

Parameters

module_name (str) –

Return type

Union[type, Callable, module]

classname(cls)[source]

Compute the given class full name.

Parameters

cls (Union[type, Callable]) – Target class.

Returns

An string object.

Return type

str

get_internal_modules()[source]

Get the list of internal minos modules.

Returns

A list of modules.

Return type

list[module]