Skip to content

Commit 9478ea1

Browse files
committed
fixup! fixup! Improve auto-adding of save_result (#623, #401, #583, #391)
1 parent a95d73f commit 9478ea1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

openeo/rest/datacube.py

-1
Original file line numberDiff line numberDiff line change
@@ -2149,7 +2149,6 @@ def download(
21492149
(overruling the connection's ``auto_validate`` setting).
21502150
:return: None if the result is stored to disk, or a bytes object returned by the backend.
21512151
"""
2152-
# TODO #401/#449 don't guess/override format if there is already a save_result with format?
21532152
weak_format = guess_format(outputfile) if outputfile else None
21542153
cube = self._ensure_save_result(format=format, options=options, weak_format=weak_format, method="Download")
21552154
return self._connection.download(cube.flat_graph(), outputfile, validate=validate)

0 commit comments

Comments
 (0)