Config
Config
Bases: BaseModel
Source code in Docs2KG/utils/config.py
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
|
from_yaml(yaml_path)
classmethod
Load configuration from a YAML file.
Source code in Docs2KG/utils/config.py
82 83 84 85 86 87 88 89 90 91 |
|
get_config()
cached
Get the configuration singleton. The lru_cache decorator ensures this is only created once and reused.
Source code in Docs2KG/utils/config.py
94 95 96 97 98 99 100 101 102 103 104 105 106 |
|