Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions | Data Fields | Protected Member Functions | Protected Attributes
xgboost.compat.LazyLoader Class Reference
Inheritance diagram for xgboost.compat.LazyLoader:

Public Member Functions

None __init__ (self, str local_name, Dict parent_module_globals, str name, Optional[str] warning=None)
 
Any __getattr__ (self, str item)
 
List[str] __dir__ (self)
 

Data Fields

 module
 

Protected Member Functions

types.ModuleType _load (self)
 

Protected Attributes

 _local_name
 
 _parent_module_globals
 
 _warning
 

Detailed Description

Lazily import a module, mainly to avoid pulling in large dependencies.

Member Function Documentation

◆ _load()

types.ModuleType xgboost.compat.LazyLoader._load (   self)
protected
Load the module and insert it into the parent's globals.

The documentation for this class was generated from the following file: