File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
ogc_api_processes_fastapi Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 15
15
# limitations under the License
16
16
17
17
import urllib .parse
18
- from typing import Any , List
18
+ from typing import Any , Dict , List
19
19
20
20
import fastapi
21
21
@@ -326,7 +326,7 @@ def create_get_job_results_endpoint(
326
326
},
327
327
operation_id = "getJobResults" ,
328
328
)
329
- def get_job_results (job_id : str ) -> models . Results :
329
+ def get_job_results (job_id : str ) -> Dict [ str , Any ] :
330
330
"""Show results of a job."""
331
331
response = client .get_job_results (job_id = job_id )
332
332
return response
Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ def post_process_execute(
63
63
execution_content : models .Execute ,
64
64
request : fastapi .Request ,
65
65
response : fastapi .Response ,
66
- ) -> Dict [ str , Any ] :
67
- status_info = dict (
66
+ ) -> models . StatusInfo :
67
+ status_info = models . StatusInfo (
68
68
jobID = 1 , status = models .StatusCode .accepted , type = models .JobType .process
69
69
)
70
70
return status_info
You can’t perform that action at this time.
0 commit comments