lablink_allocator_service.get_config¶
lablink_allocator_service.get_config
¶
Attributes¶
cs = ConfigStore.instance()
module-attribute
¶
logger = logging.getLogger(__name__)
module-attribute
¶
Classes¶
Functions:¶
get_config(config_path=None)
¶
Load the configuration file using Hydra and return it as a Config object.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config_path
|
Optional[str]
|
Optional explicit path to config file. If provided, loads from this path. If None, uses default runtime or bundled config. |
None
|
Returns:
| Type | Description |
|---|---|
Config
|
Config object validated against the schema. |