yera.config.schema.settings
Global settings schema.
Symbols
Settings
Inherits:
BaseModelSettings for Yera.
Fields
max_retries
type: int = 3
Maximum number of retry attempts for failed requests.
timeout_seconds
type: int = 60
Request timeout in seconds.
log_level
type: str = 'INFO'
Logging verbosity level (e.g. 'DEBUG', 'WARNING').
enable_telemetry
type: bool = False
Whether to emit telemetry data.
check_for_updates
type: bool = True
Whether the server UI checks for new stable Yera releases.
validate_log_level
validate_log_level(
value: object,
) → strValidate and normalise a logging level to its canonical name.
Parameters
value
type: object
Candidate logging level name.
Returns
type: str
The canonical uppercase logging level name.
Raises
ValueError
If the value is not a recognized logging level name.