We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd8f509 commit 7675722Copy full SHA for 7675722
services/clusters-keeper/src/simcore_service_clusters_keeper/core/settings.py
@@ -381,15 +381,6 @@ def LOG_LEVEL(self) -> LogLevel: # noqa: N802
381
def _valid_log_level(cls, value: str) -> str:
382
return cls.validate_log_level(value)
383
384
- @field_validator("SERVICE_TRACKING_HEARTBEAT", mode="before")
385
- @classmethod
386
- def _validate_interval(
387
- cls, value: str | datetime.timedelta
388
- ) -> int | datetime.timedelta:
389
- if isinstance(value, str):
390
- return int(value)
391
- return value
392
-
393
394
def get_application_settings(app: FastAPI) -> ApplicationSettings:
395
return cast(ApplicationSettings, app.state.settings)
0 commit comments