File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed
packages/postgres-database/src/simcore_postgres_database/models
src/simcore_service_webserver/projects Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ class ProjectType(enum.Enum):
145145 "trashed_at" ,
146146 sa .DateTime (timezone = True ),
147147 nullable = True ,
148- doc = "If set, it determines the time in which this project was sent to the trashed ." ,
148+ doc = "If set, it determines the time in which this project was sent to the trash bin ." ,
149149 ),
150150 sa .Column (
151151 "workspace_id" ,
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ async def trash_project(request: web.Request):
5353@routes .post (f"/{ VTAG } /projects/{{project_uuid}}:untrash" , name = "untrash_project" )
5454@login_required
5555@permission_required ("project.delete" )
56- @_handle_trash_exceptions
5756async def untrash_project (request : web .Request ):
5857 user_id = get_user_id (request )
5958 product_name = get_product_name (request )
Original file line number Diff line number Diff line change @@ -743,6 +743,7 @@ async def get_project(
743743 projects .c .published ,
744744 projects .c .hidden ,
745745 projects .c .workspace_id ,
746+ projects .c .trashed_at ,
746747 ]
747748
748749 async def get_project_db (self , project_uuid : ProjectID ) -> ProjectDB :
Original file line number Diff line number Diff line change 33# pylint: disable=too-many-arguments
44# pylint: disable=unused-argument
55# pylint: disable=unused-variable
6- from typing import Callable
6+ from collections . abc import Callable
77from uuid import UUID
88
99import arrow
You can’t perform that action at this time.
0 commit comments