Skip to content

Commit

Permalink
fix settings
Browse files Browse the repository at this point in the history
  • Loading branch information
giancarloromeo committed Nov 15, 2024
1 parent fb2ed15 commit 12710c9
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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(
Expand Down

0 comments on commit 12710c9

Please sign in to comment.