File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 66
77from buildpg import V , funcs , render
88from fastapi import APIRouter , HTTPException , Query , Request
9+ from fastapi .responses import JSONResponse
910
1011from swoop .api .models .jobs import (
1112 JobList ,
@@ -283,7 +284,7 @@ async def get_workflow_execution_details(
283284async def get_workflow_execution_result (
284285 request : Request ,
285286 jobID ,
286- ) -> Results | APIException :
287+ ) -> JSONResponse | APIException :
287288 """
288289 Retrieves workflow execution output payload by jobID
289290 """
@@ -294,7 +295,7 @@ async def get_workflow_execution_result(
294295 status_code = 404 , detail = "Workflow execution output payload not found"
295296 )
296297
297- return results
298+ return JSONResponse ( results )
298299
299300
300301@router .get (
You can’t perform that action at this time.
0 commit comments