mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
Allow env_nested config with __
allow to define nested config using Setting param https://docs.pydantic.dev/latest/concepts/pydantic_settings/#parsing-environment-variable-values
This commit is contained in:
parent
28e2666c17
commit
debb3b9a1a
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ class AppSettings(AppLoggingSettings):
|
|||
def WORKERS(self) -> int:
|
||||
return max(1, self.WORKER_PER_CORE * self.UVICORN_WORKERS)
|
||||
|
||||
model_config = SettingsConfigDict(arbitrary_types_allowed=True, extra="allow")
|
||||
model_config = SettingsConfigDict(arbitrary_types_allowed=True, extra="allow", env_nested_delimiter='__')
|
||||
|
||||
# ===============================================
|
||||
# TLS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue