otx.cli.utils.importing#

Utils for dynamically importing stuff.

Functions

get_backbone_list(backend)

Gather available backbone list from json file & imported lib.

get_backbone_registry([backend])

Gather backbone list from backends.

get_impl_class(impl_path)

Returns a class by its path in package.

get_module_args(module)

Gather module's Required Args.

get_otx_root_path()

Get otx root path from importing otx.

otx.cli.utils.importing.get_backbone_list(backend)[source]#

Gather available backbone list from json file & imported lib.

otx.cli.utils.importing.get_backbone_registry(backend=None)[source]#

Gather backbone list from backends.

otx.cli.utils.importing.get_impl_class(impl_path)[source]#

Returns a class by its path in package.

otx.cli.utils.importing.get_module_args(module)[source]#

Gather module’s Required Args.

otx.cli.utils.importing.get_otx_root_path()[source]#

Get otx root path from importing otx.