Open-EO / openeo-python-client

Python client API for OpenEO
https://open-eo.github.io/openeo-python-client/
Apache License 2.0
156 stars 42 forks source link

load_stac_from_job: add option to require or avoid the canonical link #634

Open soxofaan opened 1 month ago

soxofaan commented 1 month ago

Connection.load_stac_from_job currently uses the canonical (signed URL) link automatically if it can find it and falls back on the standard (non-signed) job result URL.

I think it makes sense to add an option (or options) to require and/or avoid canonical links, e.g. to fail fast at client side when the canonical link can not be found while the backend would require it