Skip to content

Commit d84fcc4

Browse files
committed
Issue #391/#651 import MultiResult in toplevel openeo package
1 parent 334b819 commit d84fcc4

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

docs/datacube_construction.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ in a single entity that can be used to create or run batch jobs. For example:
220220

221221
.. code-block:: python
222222
223+
from openeo import MultiResult
224+
223225
cube1 = ...
224226
cube2 = ...
225227
multi_result = MultiResult([cube1, cube2])

openeo/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class BaseOpenEoException(Exception):
1818
from openeo.rest.datacube import UDF, DataCube
1919
from openeo.rest.graph_building import collection_property
2020
from openeo.rest.job import BatchJob, RESTJob
21+
from openeo.rest.multiresult import MultiResult
2122

2223

2324
def client_version() -> str:

openeo/rest/multiresult.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ class MultiResult(FlatGraphableMixin):
2222
2323
.. code-block:: python
2424
25+
from openeo import MultiResult
26+
2527
cube1 = ...
2628
cube2 = ...
2729
multi_result = MultiResult([cube1, cube2])

0 commit comments

Comments
 (0)