File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
ogc_api_processes_fastapi Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -242,6 +242,10 @@ class JobType(enum.Enum):
242
242
process = "process"
243
243
244
244
245
+ class GenericObject (pydantic .BaseModel ):
246
+ __root__ : Dict [str , Any ]
247
+
248
+
245
249
class StatusInfo (pydantic .BaseModel ):
246
250
processID : Optional [str ] = None
247
251
type : JobType
@@ -253,6 +257,7 @@ class StatusInfo(pydantic.BaseModel):
253
257
finished : Optional [datetime ] = None
254
258
updated : Optional [datetime ] = None
255
259
progress : Optional [ConInt ] = None
260
+ metadata : Optional [GenericObject ] = None
256
261
links : Optional [List [Link ]] = None
257
262
258
263
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ def post_process_execute(
63
63
execution_content : models .Execute ,
64
64
request : fastapi .Request ,
65
65
response : fastapi .Response ,
66
- ) -> dict [str , Any ]:
66
+ ) -> Dict [str , Any ]:
67
67
status_info = dict (
68
68
jobID = 1 , status = models .StatusCode .accepted , type = models .JobType .process
69
69
)
You can’t perform that action at this time.
0 commit comments