Skip to content

Commit

Permalink
fix: os app settings allow extra
Browse files Browse the repository at this point in the history
  • Loading branch information
ovsds committed Dec 23, 2024
1 parent 413bacc commit d6ec0ee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/dl_api_lib/dl_api_lib/app_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import attr
import pydantic
import pydantic_settings

from dl_api_commons.base_models import TenantDef
from dl_api_lib.connector_availability.base import ConnectorAvailabilityConfig
Expand Down Expand Up @@ -344,6 +345,10 @@ class AppSettingsOS(
dl_settings.WithFallbackEnvSource,
dl_settings.BaseRootSettings,
):
model_config = pydantic_settings.SettingsConfigDict(
extra=pydantic.Extra.ignore,
)

AUTH: typing.Optional[dl_settings.TypedAnnotation[BaseAuthSettingsOS]] = None

fallback_env_keys = {
Expand Down

0 comments on commit d6ec0ee

Please sign in to comment.