Skip to content

Commit 3ca8488

Browse files
committed
allow extra
1 parent 7f80e36 commit 3ca8488

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

infrastructure/config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@ class AppConfig(BaseSettings):
113113
default=None,
114114
)
115115

116-
model_config = SettingsConfigDict(env_file=".env", yaml_file="config.yaml")
116+
model_config = SettingsConfigDict(
117+
env_file=".env", yaml_file="config.yaml", extra="allow"
118+
)
117119

118120
@field_validator("tags")
119121
def default_tags(cls, v, info: ValidationInfo):

0 commit comments

Comments
 (0)