File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed
packages/common-library/src/common_library
dynamic-scheduler/src/simcore_service_dynamic_scheduler/services/director_v2
web/server/src/simcore_service_webserver Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 22
33
44class UnSet :
5- INSTANCE : "UnSet"
5+ VALUE : "UnSet"
66
77
8- UnSet .INSTANCE = UnSet ()
8+ UnSet .VALUE = UnSet ()
99
1010
1111def as_dict_exclude_unset (** params ) -> dict [str , Any ]:
Original file line number Diff line number Diff line change @@ -117,8 +117,8 @@ async def _(
117117 async def get_dynamic_services (
118118 self ,
119119 * ,
120- user_id : UserID | None | UnSet = UnSet .INSTANCE ,
121- project_id : ProjectID | None | UnSet = UnSet .INSTANCE ,
120+ user_id : UserID | None | UnSet = UnSet .VALUE ,
121+ project_id : ProjectID | None | UnSet = UnSet .VALUE ,
122122 ) -> Response :
123123 return await self .client .get (
124124 "/dynamic_services" ,
Original file line number Diff line number Diff line change @@ -312,12 +312,12 @@ async def update(
312312 folders_id_or_ids : FolderID | set [FolderID ],
313313 product_name : ProductName ,
314314 # updatable columns
315- name : str | UnSet = UnSet .INSTANCE ,
316- parent_folder_id : FolderID | None | UnSet = UnSet .INSTANCE ,
317- trashed_at : datetime | None | UnSet = UnSet .INSTANCE ,
318- trashed_explicitly : bool | UnSet = UnSet .INSTANCE ,
319- workspace_id : WorkspaceID | None | UnSet = UnSet .INSTANCE ,
320- user_id : UserID | None | UnSet = UnSet .INSTANCE ,
315+ name : str | UnSet = UnSet .VALUE ,
316+ parent_folder_id : FolderID | None | UnSet = UnSet .VALUE ,
317+ trashed_at : datetime | None | UnSet = UnSet .VALUE ,
318+ trashed_explicitly : bool | UnSet = UnSet .VALUE ,
319+ workspace_id : WorkspaceID | None | UnSet = UnSet .VALUE ,
320+ user_id : UserID | None | UnSet = UnSet .VALUE ,
321321) -> FolderDB :
322322 """
323323 Batch/single patch of folder/s
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ async def update_project_to_folder(
124124 * ,
125125 folders_id_or_ids : FolderID | set [FolderID ],
126126 # updatable columns
127- user_id : UserID | None | UnSet = UnSet .INSTANCE ,
127+ user_id : UserID | None | UnSet = UnSet .VALUE ,
128128) -> None :
129129 """
130130 Batch/single patch of project to folders
You can’t perform that action at this time.
0 commit comments