Skip to content

Commit

Permalink
fixup! fixup! Improve auto-adding of save_result (#623, #401, #583, #391
Browse files Browse the repository at this point in the history
)
  • Loading branch information
soxofaan committed Sep 25, 2024
1 parent a95d73f commit 9478ea1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion openeo/rest/datacube.py
Original file line number Diff line number Diff line change
Expand Up @@ -2149,7 +2149,6 @@ def download(
(overruling the connection's ``auto_validate`` setting).
:return: None if the result is stored to disk, or a bytes object returned by the backend.
"""
# TODO #401/#449 don't guess/override format if there is already a save_result with format?
weak_format = guess_format(outputfile) if outputfile else None
cube = self._ensure_save_result(format=format, options=options, weak_format=weak_format, method="Download")
return self._connection.download(cube.flat_graph(), outputfile, validate=validate)
Expand Down

0 comments on commit 9478ea1

Please sign in to comment.