File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/simcore_service_webserver/functions
tests/unit/with_dbs/04/functions_rpc Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -565,11 +565,11 @@ async def list_function_job_collections(
565565 ):
566566 collection = RegisteredFunctionJobCollectionDB .model_validate (row )
567567 job_ids = [
568- job_row [ " function_job_uuid" ]
568+ job_row . function_job_uuid
569569 async for job_row in await conn .stream (
570570 function_job_collections_to_function_jobs_table .select ().where (
571571 function_job_collections_to_function_jobs_table .c .function_job_collection_uuid
572- == row [ " uuid" ]
572+ == row . uuid
573573 )
574574 )
575575 ]
Original file line number Diff line number Diff line change 99from uuid import uuid4
1010
1111import pytest
12+ import sqlalchemy
1213from aiohttp .test_utils import TestClient
1314from models_library .api_schemas_webserver .functions import (
1415 Function ,
@@ -188,7 +189,7 @@ async def add_user_function_api_access_rights(
188189 async with asyncpg_engine .begin () as conn :
189190 for group_id in (logged_user ["primary_gid" ], other_logged_user ["primary_gid" ]):
190191 await conn .execute (
191- funcapi_api_access_rights_table .delete ( # type: ignore[union-attr]
192+ sqlalchemy .delete (funcapi_api_access_rights_table ). where (
192193 funcapi_api_access_rights_table .c .group_id == group_id
193194 )
194195 )
You can’t perform that action at this time.
0 commit comments