updates
This commit is contained in:
21
api/load_cfg.qmd
Normal file
21
api/load_cfg.qmd
Normal file
@@ -0,0 +1,21 @@
|
||||
# load_cfg { #axolotl.load_cfg }
|
||||
|
||||
```python
|
||||
load_cfg(config=Path('examples/'), **kwargs)
|
||||
```
|
||||
|
||||
Loads the `axolotl` configuration stored at `config`, validates it, and performs
|
||||
various setup.
|
||||
|
||||
## Parameters {.doc-section .doc-section-parameters}
|
||||
|
||||
| Name | Type | Description | Default |
|
||||
|--------|--------------------|--------------------------------------------------------------|---------------------|
|
||||
| config | Union\[str, Path\] | Path (local or remote) to `axolotl` config YAML file. | `Path('examples/')` |
|
||||
| kwargs | | Additional keyword arguments to override config file values. | `{}` |
|
||||
|
||||
## Returns {.doc-section .doc-section-returns}
|
||||
|
||||
| Name | Type | Description |
|
||||
|--------|-------------|-----------------------------------------------------|
|
||||
| | DictDefault | `DictDefault` mapping configuration keys to values. |
|
||||
Reference in New Issue
Block a user