Config
- class soap.Config(leaf_path: Optional[Path] = None, cfg: Optional[Dict[str, Any]] = None)[source]
Bases:
object
Configuration for a SOAP project
- Variables:
envs – Mapping from environment names to environment
Env
objects. The map key matches the.name
attribute of the environment.aliases – List of
Alias
objects defined in the project.
- Raises:
MissingConfigFileError – If
pyproject.toml
andsoap.toml
are both missing from the root path.TomlDecodeError – If the file was found but is not valid TOML
SchemaError – If the config file is valid TOML but does not match the SOAP configuration schema.
Methods