File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
services/autoscaling/src/simcore_service_autoscaling/core Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2323 field_validator ,
2424 model_validator ,
2525)
26- from pytest_simcore . helpers . dict_tools import ConfigDict
26+ from pydantic_settings import SettingsConfigDict
2727from settings_library .base import BaseCustomSettings
2828from settings_library .docker_registry import RegistrySettings
2929from settings_library .ec2 import EC2Settings
@@ -44,7 +44,7 @@ class AutoscalingSSMSettings(SSMSettings):
4444
4545
4646class AutoscalingEC2Settings (EC2Settings ):
47- model_config = ConfigDict (
47+ model_config = SettingsConfigDict (
4848 env_prefix = AUTOSCALING_ENV_PREFIX ,
4949 json_schema_extra = {
5050 "examples" : [
@@ -286,7 +286,8 @@ class ApplicationSettings(BaseCustomSettings, MixinLoggingSettings):
286286 "but a docker node label named osparc-services-ready is attached" ,
287287 )
288288 AUTOSCALING_TRACING : TracingSettings | None = Field (
289- auto_default_from_env = True , description = "settings for opentelemetry tracing"
289+ description = "settings for opentelemetry tracing" ,
290+ json_schema_extra = {"auto_default_from_env" :True },
290291 )
291292
292293 AUTOSCALING_DOCKER_JOIN_DRAINED : bool = Field (
You can’t perform that action at this time.
0 commit comments