Skip to content

Commit

Permalink
allow extra
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed May 20, 2024
1 parent 7f80e36 commit 3ca8488
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion infrastructure/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ class AppConfig(BaseSettings):
default=None,
)

model_config = SettingsConfigDict(env_file=".env", yaml_file="config.yaml")
model_config = SettingsConfigDict(
env_file=".env", yaml_file="config.yaml", extra="allow"
)

@field_validator("tags")
def default_tags(cls, v, info: ValidationInfo):
Expand Down

0 comments on commit 3ca8488

Please sign in to comment.