Skip to content

Commit a72507a

Browse files
committed
Fix return type error
1 parent cdc111b commit a72507a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

services/web/server/src/simcore_service_webserver/functions/_controller/_functions_rpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ async def find_cached_function_jobs(
310310
product_name: ProductName,
311311
function_id: FunctionID,
312312
inputs: FunctionInputs,
313-
) -> list[FunctionJob] | None:
313+
) -> list[RegisteredFunctionJob] | None:
314314
return await _functions_service.find_cached_function_jobs(
315315
app=app,
316316
user_id=user_id,

services/web/server/src/simcore_service_webserver/functions/_functions_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ async def find_cached_function_jobs(
347347
product_name: ProductName,
348348
function_id: FunctionID,
349349
inputs: FunctionInputs,
350-
) -> list[FunctionJob] | None:
350+
) -> list[RegisteredFunctionJob] | None:
351351
returned_function_jobs = await _functions_repository.find_cached_function_jobs(
352352
app=app,
353353
user_id=user_id,

0 commit comments

Comments
 (0)