From d6ec0ee8d019fcf75651ddcf925efd08a7d06ddc Mon Sep 17 00:00:00 2001 From: ovsds Date: Mon, 23 Dec 2024 14:51:27 +0100 Subject: [PATCH] fix: os app settings allow extra --- lib/dl_api_lib/dl_api_lib/app_settings.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/dl_api_lib/dl_api_lib/app_settings.py b/lib/dl_api_lib/dl_api_lib/app_settings.py index f2331da62..474c76458 100644 --- a/lib/dl_api_lib/dl_api_lib/app_settings.py +++ b/lib/dl_api_lib/dl_api_lib/app_settings.py @@ -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 @@ -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 = {