Skip to content

Commit 0b5e311

Browse files
committed
cleanup
1 parent e29f65a commit 0b5e311

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
),

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
)

0 commit comments

Comments
 (0)