Skip to content

Commit 17814e3

Browse files
committed
fixes
1 parent ed1eb11 commit 17814e3

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

packages/postgres-database/src/simcore_postgres_database/models/projects.py

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

services/web/server/src/simcore_service_webserver/projects/_trash_handlers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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
5756
async def untrash_project(request: web.Request):
5857
user_id = get_user_id(request)
5958
product_name = get_product_name(request)

services/web/server/src/simcore_service_webserver/projects/db.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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:

services/web/server/tests/unit/with_dbs/03/test_trash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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
77
from uuid import UUID
88

99
import arrow

0 commit comments

Comments
 (0)