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

do not auto-add save_result when export_workspace is used #623

Closed jdries closed 1 month ago

jdries commented 2 months ago

Current behaviour: https://github.com/Open-EO/openeo-python-client/blob/29ae888f83a9cecea1e2b260167f02f38417d86b/openeo/rest/datacube.py#L2079

If last node is not save_result, then add it automatically.

Better: check the entire graph for save_result processes? If there are any, then the user probably knows what he's doing.

soxofaan commented 2 months ago

Indeed, there is quite some technical debt to clean up around "save_result" handling. Related tickets:

soxofaan commented 1 month ago

started working on draft at #630

soxofaan commented 1 month ago

done with 58f0205db63efbc860b99477cc5e5dea6069224b