From 12710c93ee64c668b6d708f921a5291ccfaee67a Mon Sep 17 00:00:00 2001 From: Giancarlo Romeo Date: Fri, 15 Nov 2024 10:08:31 +0100 Subject: [PATCH] fix settings --- .../src/simcore_service_datcore_adapter/core/settings.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/services/datcore-adapter/src/simcore_service_datcore_adapter/core/settings.py b/services/datcore-adapter/src/simcore_service_datcore_adapter/core/settings.py index e2b2bc8791b..cc7261e73be 100644 --- a/services/datcore-adapter/src/simcore_service_datcore_adapter/core/settings.py +++ b/services/datcore-adapter/src/simcore_service_datcore_adapter/core/settings.py @@ -4,6 +4,7 @@ from pydantic import AliasChoices, Field, TypeAdapter, field_validator from pydantic.networks import AnyUrl from servicelib.logging_utils_filtering import LoggerName, MessageSubstring +from settings_library.application import BaseApplicationSettings from settings_library.base import BaseCustomSettings from settings_library.tracing import TracingSettings from settings_library.utils_logging import MixinLoggingSettings @@ -19,10 +20,7 @@ class PennsieveSettings(BaseCustomSettings): PENNSIEVE_HEALTCHCHECK_TIMEOUT: float = 1.0 -class ApplicationSettings(BaseCustomSettings, MixinLoggingSettings): - # DOCKER - SC_BOOT_MODE: BootModeEnum | None - +class ApplicationSettings(BaseApplicationSettings, MixinLoggingSettings): LOG_LEVEL: LogLevel = Field( default=LogLevel.INFO.value, validation_alias=AliasChoices(