Skip to content

Commit 8fcd5b1

Browse files
committed
@GitHK review: annotations
1 parent e449f63 commit 8fcd5b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/models-library/src/models_library/service_settings_labels.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ def _not_allowed_in_both_specs(self):
491491
model_config = _BaseConfig
492492

493493

494-
def _simcore_service_labels_json_schema_extra(schema: JsonDict):
494+
def _update_json_schema_extra(schema: JsonDict) -> None:
495495
#
496496
# NOTE: this will be automatically called with SimcoreServiceLabels.model_json_schema
497497
#
@@ -601,5 +601,5 @@ class SimcoreServiceLabels(DynamicSidecarServiceLabels):
601601

602602
model_config = _BaseConfig | ConfigDict(
603603
extra="allow",
604-
json_schema_extra=_simcore_service_labels_json_schema_extra,
604+
json_schema_extra=_update_json_schema_extra,
605605
)

0 commit comments

Comments
 (0)