profiles
profiles
¶
Daemon operational profiles.
Profiles are partial DaemonConfig overrides shipped as YAML files. They configure how the conductor operates — concurrency, logging, profiling intensity, resource limits — without touching score configs.
Built-in profiles
dev — Debug logging, strace enabled, low concurrency intensive — Long timeouts, high resource limits minimal — Profiler and learning disabled, low concurrency
Functions¶
list_profiles
¶
get_profile
¶
Load a built-in profile by name.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Profile name (e.g. "dev", "intensive", "minimal"). |
required |
Returns:
| Type | Description |
|---|---|
dict[str, Any]
|
Parsed YAML dict suitable for deep-merging into DaemonConfig data. |
Raises:
| Type | Description |
|---|---|
FileNotFoundError
|
If the profile does not exist. |
Source code in src/marianne/daemon/profiles/__init__.py
deep_merge
¶
Recursively merge override into base, returning a new dict.
- Dict values are merged recursively.
- All other values in override replace those in base.
- Keys in base not present in override are preserved.