You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# TODO: avoid `format_options` as keyword arguments
**format_options,
Note that there is a dedicated argument job_options for the job options, but the kwargs argument goes to format options, which is an optional feature here actually. I think we should get rid of this backwards argument handling
The text was updated successfully, but these errors were encountered:
I had the same problem yesterday where I tried to pass a title to execute_batch but it treated it as a format option. I believe I got an error back so I changed it to create_job.
I had the same problem yesterday where I tried to pass a title to execute_batch but it treated it as a format option. I believe I got an error back so I changed it to create_job.
aargh same here: I was looking into CDSE integration tests that uses cube.execute_batch(title=... and couldn't understand why the tile was not showing up in the job registry
aargh same here: I was looking into CDSE integration tests that uses cube.execute_batch(title=... and couldn't understand why the tile was not showing up in the job registry
@mbuchhorn pointed me to this snippet from doc:
openeo-python-client/docs/cookbook/sampling.md
Lines 37 to 42 in 7c321be
I find this extremely confusing: the
sample_by_feature
looks like a job option this way, while thekwargs
will be passed as format option:openeo-python-client/openeo/rest/datacube.py
Lines 2411 to 2423 in 7c321be
Note that there is a dedicated argument
job_options
for the job options, but thekwargs
argument goes to format options, which is an optional feature here actually. I think we should get rid of this backwards argument handlingThe text was updated successfully, but these errors were encountered: