without_env¶
A without context backed by environment variables, parsed with pydantic-settings.
without_env
¶
EnvContext
dataclass
¶
A static without.Context whose value is parsed from the environment.
The environment is read once, at the boundary, into a validated settings
value (parse, don't validate). The value is then immutable: current always
returns the same thing, so this models config that does not change for the
life of the process. A reloading variant belongs in a separate plugin that
watches a source and updates a held value.