File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
packages/models-library/src/models_library Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ class DynamicSidecarServiceLabels(BaseModel):
335335 callbacks_mapping : Annotated [
336336 Json [CallbacksMapping ] | None ,
337337 Field (
338- default_factory = CallbacksMapping , # type: ignore[arg-type] # this one ANE I am not sure about
338+ default_factory = CallbacksMapping , # this one ANE I am not sure about
339339 alias = "simcore.service.callbacks-mapping" ,
340340 description = "exposes callbacks from user services to the sidecar" ,
341341 ),
Original file line number Diff line number Diff line change @@ -74,8 +74,9 @@ def get_preference_name(cls) -> PreferenceName:
7474
7575 @classmethod
7676 def get_default_value (cls ) -> Any :
77+ # ANE: please double check this concept
7778 return (
78- cls .model_fields ["value" ].default_factory ()
79+ cls .model_fields ["value" ].default_factory () # type: ignore[call-arg]
7980 if cls .model_fields ["value" ].default_factory is not None
8081 else cls .model_fields ["value" ].default
8182 )
You can’t perform that action at this time.
0 commit comments