Skip to content

Commit 3120ff7

Browse files
committed
cleanup
1 parent 529c28f commit 3120ff7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

services/web/server/src/simcore_service_webserver/users/_models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class ToUserUpdateDB(BaseModel):
3838

3939
@classmethod
4040
def from_api(cls, profile_update) -> Self:
41+
# TODO: move this to schema!!!
4142
# The mapping of embed fields to flatten keys is done here
4243
return cls.model_validate(
4344
flatten_dict(profile_update.model_dump(exclude_unset=True, by_alias=False))

services/web/server/src/simcore_service_webserver/users/schemas.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from models_library.api_schemas_webserver._base import OutputSchema
44
from pydantic import BaseModel, ConfigDict, Field
55

6+
# TODO: move to _schemas or to models_library.api_schemas_webserver??
67

78
#
89
# TOKENS resource

0 commit comments

Comments
 (0)