Skip to content

Commit 6e17b80

Browse files
fix: connection
1 parent db156e4 commit 6e17b80

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from typing import Any, Literal, cast
77

88
import sqlalchemy as sa
9+
from sqlalchemy.ext.asyncio import AsyncConnection
910
from aiopg.sa.connection import SAConnection
1011
from aiopg.sa.result import RowProxy
1112
from models_library.projects import ProjectID, ProjectType
@@ -379,7 +380,7 @@ def patch_workbench(
379380

380381

381382
async def get_project_workbench(
382-
connection: SAConnection,
383+
connection: AsyncConnection,
383384
project_uuid: str,
384385
) -> dict[str, Any]:
385386
project_nodes_repo = ProjectNodesRepo(project_uuid=ProjectID(project_uuid))

0 commit comments

Comments
 (0)