From 3c2b08ccd46686ee49ca3a02d642bbc008161be9 Mon Sep 17 00:00:00 2001 From: Jeroen Dries Date: Wed, 20 Dec 2023 12:08:39 +0100 Subject: [PATCH] fix annotations https://github.com/Open-EO/openeo-python-client/issues/467 --- openeo/rest/datacube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openeo/rest/datacube.py b/openeo/rest/datacube.py index 8579e5dc3..5a81542c3 100644 --- a/openeo/rest/datacube.py +++ b/openeo/rest/datacube.py @@ -217,8 +217,8 @@ def load_collection( load_collection, name="create_collection", since="0.4.6" ) - @deprecated(reason="Depends on non-standard process, replace with :py:meth:`openeo.rest.connection.Connection.load_stac` where possible.",version="0.25.0") @classmethod + @deprecated(reason="Depends on non-standard process, replace with :py:meth:`openeo.rest.connection.Connection.load_stac` where possible.",version="0.25.0") def load_disk_collection(cls, connection: Connection, file_format: str, glob_pattern: str, **options) -> DataCube: """ Loads image data from disk as a DataCube.