Skip to content

Commit 394624d

Browse files
committed
Issue #401 WIP
1 parent 0f10972 commit 394624d

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5656
([#412](https://github.com/Open-EO/openeo-python-client/issues/412)).
5757
- More robust handling of billing currency/plans in capabilities
5858
([#414](https://github.com/Open-EO/openeo-python-client/issues/414))
59+
- TODO
5960

6061

6162
## [0.15.0] - 2023-03-03

openeo/rest/mlmodel.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ class MlModel(_ProcessGraphAbstraction):
2424
2525
.. versionadded:: 0.10.0
2626
"""
27+
28+
# TODO
2729
def __init__(self, graph: PGNode, connection: 'Connection'):
2830
super().__init__(pgnode=graph, connection=connection)
2931

openeo/rest/vectorcube.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ def run_udf(
9090

9191
@openeo_process
9292
def save_result(self, format: str = "GeoJson", options: dict = None):
93+
# TODO?
94+
# TODO: check format against supported formats
95+
# TODO: should not return a VectorCube again, but bool wrapper
96+
# TODO: should save_result also work on non-cube data types, e.g. arrays, scalars?
9397
return self.process(
9498
process_id="save_result",
9599
arguments={
@@ -105,6 +109,7 @@ def execute(self) -> dict:
105109

106110
def download(self, outputfile: str, format: str = "GeoJSON", options: dict = None):
107111
# TODO: only add save_result, when not already present (see DataCube.download)
112+
# TODO
108113
cube = self.save_result(format=format, options=options)
109114
return self._connection.download(cube.flat_graph(), outputfile)
110115

0 commit comments

Comments
 (0)