Skip to content

Commit aa5c10c

Browse files
committed
mypy
1 parent ddfa611 commit aa5c10c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

services/web/server/src/simcore_service_webserver/application_settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ def _enable_only_if_dev_features_allowed(cls, data: Any) -> Any:
418418
json_schema = {}
419419
field.json_schema_extra(json_schema)
420420

421+
assert isinstance(json_schema, dict) # nosec
421422
if json_schema.get(_X_DEV_FEATURE_FLAG):
422423
_logger.warning(
423424
"'%s' is still under development and will be forcibly disabled [WEBSERVER_DEV_FEATURES_ENABLED=%s].",

0 commit comments

Comments
 (0)