Skip to content

Commit 2602db8

Browse files
committed
Minor doc tweaks
1 parent caec34c commit 2602db8

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

openeo/rest/auth/oidc.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,8 +572,6 @@ def get_tokens(self, request_refresh_token: bool = False) -> AccessTokenResult:
572572
class OidcClientCredentialsAuthenticator(OidcAuthenticator):
573573
"""
574574
Implementation of "Client Credentials" Flow.
575-
576-
TODO: is this a useful flow in practice?
577575
"""
578576

579577
grant_type = "client_credentials"

openeo/rest/connection.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -732,9 +732,9 @@ def list_services(self) -> dict:
732732
def describe_collection(self, collection_id: str) -> dict:
733733
"""
734734
Get full collection metadata for given collection id.
735-
735+
736736
.. seealso::
737-
737+
738738
:py:meth:`~openeo.rest.connection.Connection.list_collection_ids`
739739
to list all collection ids provided by the back-end.
740740
@@ -914,6 +914,8 @@ def vectorcube_from_paths(
914914
:param options: The file format parameters to be used to read the files. Must correspond to the parameters that the server reports as supported parameters for the chosen format.
915915
916916
:return: A :py:class:`VectorCube`.
917+
918+
.. versionadded:: 0.14.0
917919
"""
918920
graph = PGNode(
919921
"load_uploaded_files",
@@ -1200,7 +1202,7 @@ def create_job(
12001202
def job(self, job_id: str) -> BatchJob:
12011203
"""
12021204
Get the job based on the id. The job with the given id should already exist.
1203-
1205+
12041206
Use :py:meth:`openeo.rest.connection.Connection.create_job` to create new jobs
12051207
12061208
:param job_id: the job id of an existing job
@@ -1211,7 +1213,7 @@ def job(self, job_id: str) -> BatchJob:
12111213
def service(self, service_id: str) -> Service:
12121214
"""
12131215
Get the secondary web service based on the id. The service with the given id should already exist.
1214-
1216+
12151217
Use :py:meth:`openeo.rest.connection.Connection.create_service` to create new services
12161218
12171219
:param job_id: the service id of an existing secondary web service
@@ -1357,4 +1359,3 @@ def paginate(con: Connection, url: str, params: dict = None, callback: Callable
13571359
url = next_links[0]["href"]
13581360
page += 1
13591361
params = {}
1360-

0 commit comments

Comments
 (0)