load_config
Functionload_config(path: Optional[Path | str] = None)
Load configuration from file
If path is None, searches for config in standard locations: - ./svan2d.toml - ~/.config/svan2d/config.toml - ~/.svan2d.toml
Parameters
-
path - Optional path to configuration file
Examples
from svan2d.config import load_config
load_config('my_project_config.toml')