class documentation
class LazyModule(types.ModuleType): (source)
Constructor: LazyModule(module_name, callback)
Proxy module that lazily imports the underlying module the first time it is actually used.
Parameters | |
module | the fully-qualified module name to import |
callback | a callback function to call before importing the module |
Method | __dir__ |
Undocumented |
Method | __getattr__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | _import |
Undocumented |
Instance Variable | _callback |
Undocumented |
Instance Variable | _module |
Undocumented |