File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
services/datcore-adapter/src/simcore_service_datcore_adapter/core Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 1- from functools import cached_property
21from typing import Annotated
32
43from common_library .basic_types import DEFAULT_FACTORY
5- from models_library .basic_types import BootModeEnum , LogLevel
4+ from models_library .basic_types import LogLevel
65from pydantic import AliasChoices , Field , TypeAdapter , field_validator
76from pydantic .networks import AnyUrl
87from servicelib .logging_utils_filtering import LoggerName , MessageSubstring
@@ -69,15 +68,6 @@ class ApplicationSettings(BaseApplicationSettings, MixinLoggingSettings):
6968 ),
7069 ]
7170
72- @cached_property
73- def debug (self ) -> bool :
74- """If True, debug tracebacks should be returned on errors."""
75- return self .SC_BOOT_MODE in [
76- BootModeEnum .DEBUG ,
77- BootModeEnum .DEVELOPMENT ,
78- BootModeEnum .LOCAL ,
79- ]
80-
8171 @field_validator ("LOG_LEVEL" , mode = "before" )
8272 @classmethod
8373 def _validate_loglevel (cls , value : str ) -> str :
You can’t perform that action at this time.
0 commit comments