File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 28
28
"requests" ,
29
29
"attrs" ,
30
30
"openeo>=0.17.0" ,
31
- "openeo_driver>=0.40.0a1 .dev" ,
31
+ "openeo_driver>=0.51.0 .dev" ,
32
32
"flask~=2.0" ,
33
33
"gunicorn~=20.0" ,
34
34
"python-json-logger>=2.0.0" ,
Original file line number Diff line number Diff line change @@ -201,10 +201,7 @@ def generate_backend_constraint_callables(process_graphs: Iterable[dict]) -> Lis
201
201
env = processing .get_basic_env ()
202
202
203
203
def evaluate (backend_id , pg ):
204
- return processing .evaluate (
205
- process_graph = pg ,
206
- env = env .push (parameters = {"value" : backend_id })
207
- )
204
+ return processing .evaluate (process_graph = pg , env = env .push_parameters ({"value" : backend_id }))
208
205
209
206
return [functools .partial (evaluate , pg = pg ) for pg in process_graphs ]
210
207
You can’t perform that action at this time.
0 commit comments