Skip to content

Commit 376b040

Browse files
committed
Fix typing
1 parent 032505a commit 376b040

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

services/api-server/src/simcore_service_api_server/api/routes/function_jobs_routes.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from collections.abc import Sequence
12
from typing import Annotated, Final
23

34
from fastapi import APIRouter, Depends, FastAPI, HTTPException, Query, status
@@ -119,6 +120,9 @@ async def list_function_jobs(
119120
bool, Query(description="Include job status in response")
120121
] = False,
121122
):
123+
function_jobs_list: Sequence[
124+
RegisteredFunctionJobWithStatus | RegisteredFunctionJob
125+
] = []
122126
if include_status:
123127
function_jobs_list, meta = (
124128
await function_job_service.list_function_jobs_with_status(

0 commit comments

Comments
 (0)