load_project_config_toml#

scikitplot.mlflow.load_project_config_toml(path, *, profile='local', project_root=None)[source]#

Load project MLflow config from a TOML file.

Parameters:
pathpathlib.Path

TOML config file path.

profilestr, default=”local”

Profile name.

project_rootpathlib.Path or None, default=None

Project root used to resolve relative paths. If None, discovered via find_project_root.

Returns:
ProjectConfig

Loaded project configuration.

Raises:
FileNotFoundError

If the file does not exist.

Parameters:
Return type:

ProjectConfig

Notes

TOML reading uses stdlib tomllib (Python 3.11+).