Skip to content

Commit 0df45e3

Browse files
committed
minor doc fix
1 parent 357d3cc commit 0df45e3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

openeo/rest/datacube.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,12 +1038,6 @@ def apply_dimension(
10381038
the dimension labels will be incrementing integers starting from zero, which can be changed using
10391039
rename_labels afterwards. The number of labels will equal to the number of values computed by the process.
10401040
1041-
.. note::
1042-
.. versionchanged:: 0.13.0
1043-
arguments ``code``, ``runtime`` and ``version`` are deprecated if favor of the standard approach
1044-
of using an :py:class:`UDF <openeo.rest._datacube.UDF>` object in the ``process`` argument.
1045-
See :ref:`old_udf_api` for more background about the changes.
1046-
10471041
:param code: [**deprecated**] UDF code or process identifier (optional)
10481042
:param runtime: [**deprecated**] UDF runtime to use (optional)
10491043
:param process: the "child callback":
@@ -1070,6 +1064,12 @@ def apply_dimension(
10701064
10711065
:return: A datacube with the UDF applied to the given dimension.
10721066
:raises: DimensionNotAvailable
1067+
1068+
.. versionchanged:: 0.13.0
1069+
arguments ``code``, ``runtime`` and ``version`` are deprecated if favor of the standard approach
1070+
of using an :py:class:`UDF <openeo.rest._datacube.UDF>` object in the ``process`` argument.
1071+
See :ref:`old_udf_api` for more background about the changes.
1072+
10731073
"""
10741074
# TODO #137 #181 #312 remove support for code/runtime/version
10751075
if runtime or (isinstance(code, str) and "\n" in code):

0 commit comments

Comments
 (0)