File tree Expand file tree Collapse file tree 3 files changed +0
-5
lines changed
services/web/server/src/simcore_service_webserver Expand file tree Collapse file tree 3 files changed +0
-5
lines changed Original file line number Diff line number Diff line change 88from models_library .users import UserID , UserNameID
99from redis .asyncio import Redis
1010from servicelib .common_headers import UNDEFINED_DEFAULT_SIMCORE_USER_AGENT_VALUE
11- from simcore_postgres_database .aiopg_errors import DatabaseError
1211from simcore_postgres_database .models .users import UserRole
1312
1413from ..projects ._projects_repository_legacy import ProjectDBAPI
@@ -162,7 +161,6 @@ async def remove_guest_user_with_all_its_resources(
162161 await users_service .delete_user_without_projects (app , user_id = user_id )
163162
164163 except (
165- DatabaseError ,
166164 asyncpg .exceptions .PostgresError ,
167165 ProjectNotFoundError ,
168166 UserNotFoundError ,
Original file line number Diff line number Diff line change @@ -137,7 +137,6 @@ async def replace_current_owner(
137137 )
138138
139139 except (
140- DatabaseError ,
141140 asyncpg .exceptions .PostgresError ,
142141 ProjectNotFoundError ,
143142 UserNotFoundError ,
Original file line number Diff line number Diff line change 22from enum import Enum
33from typing import Any , TypeAlias
44
5- from aiopg .sa .result import RowProxy
65from common_library .dict_tools import remap_keys
76from models_library .api_schemas_webserver .projects import ProjectPatch
87from models_library .api_schemas_webserver .projects_ui import StudyUI
1918from simcore_postgres_database .models .projects import ProjectTemplateType , ProjectType
2019
2120ProjectDict : TypeAlias = dict [str , Any ]
22- ProjectProxy : TypeAlias = RowProxy
2321
2422
2523class ProjectTypeAPI (str , Enum ):
You can’t perform that action at this time.
0 commit comments