Skip to content

Commit f906509

Browse files
committed
job options is a list!
1 parent 81f4696 commit f906509

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

openeo_driver/backend.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -894,15 +894,15 @@ def file_formats(self) -> dict:
894894
"""
895895
return {"input": {}, "output": {}}
896896

897-
def processing_parameters(self) -> dict:
897+
def processing_parameters(self) -> list:
898898
"""
899899
List the available processing parameters in the format defined by openEO processing parameters extension.
900900
901901
https://github.com/Open-EO/openeo-api/blob/draft/extensions/processing-parameters/openapi.yaml
902902
903903
Example output:
904904
```
905-
{
905+
[{
906906
"name": "memory"
907907
"description": "Maximum amount of memory that will be allocated for processing, in gigabytes."
908908
"optional": True
@@ -911,10 +911,10 @@ def processing_parameters(self) -> dict:
911911
"type": "integer"
912912
"minimum": 1
913913
}
914-
}
914+
}]
915915
```
916916
"""
917-
return {}
917+
return []
918918

919919
def load_disk_data(
920920
self, format: str, glob_pattern: str, options: dict, load_params: LoadParameters, env: EvalEnv

0 commit comments

Comments
 (0)