We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c93168a commit c66590dCopy full SHA for c66590d
services/web/server/tests/integration/01/test_computation.py
@@ -254,15 +254,10 @@ async def _get_project_workbench_from_db(
254
# this check is only there to check the comp_pipeline is there
255
print(f"--> looking for project {project_id=} in projects table...")
256
async with sqlalchemy_async_engine.connect() as conn:
257
- rows = (
258
- conn.execute(
259
- sa.select(projects_nodes).where(
260
- projects_nodes.c.project_uuid == project_id
261
- )
262
263
- .mappings()
264
- .all()
+ result = await conn.execute(
+ sa.select(projects_nodes).where(projects_nodes.c.project_uuid == project_id)
265
)
+ rows = result.mappings().all()
266
267
return {row["node_id"]: dict(row) for row in rows}
268
0 commit comments