Skip to main content
Version: 1.2.2

utils

ModulePrivateSource

Extensions of the Python STL. Currently this module provides:

  1. lazy_import: Lazy import of a Python module. It allows nested imports, i.e. a lazy-imported module containing other lazy-imported modules.

Classes

Member
Description
ModuleReplaceErrorException raised when replacing an existing lazy module.

Functions

Member
Description
cancel_typeRemove the typehint of a value with a known type.
lazy_importPerform the lazy import for a module.
get_lazy_attributeGet an attribute of a lazy module.
is_module_invalidCheck whether a lazy module is invalid.