Skip to content

Commit

Permalink
Minor doc tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Feb 1, 2023
1 parent caec34c commit 2602db8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 0 additions & 2 deletions openeo/rest/auth/oidc.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,6 @@ def get_tokens(self, request_refresh_token: bool = False) -> AccessTokenResult:
class OidcClientCredentialsAuthenticator(OidcAuthenticator):
"""
Implementation of "Client Credentials" Flow.
TODO: is this a useful flow in practice?
"""

grant_type = "client_credentials"
Expand Down
11 changes: 6 additions & 5 deletions openeo/rest/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,9 +732,9 @@ def list_services(self) -> dict:
def describe_collection(self, collection_id: str) -> dict:
"""
Get full collection metadata for given collection id.
.. seealso::
:py:meth:`~openeo.rest.connection.Connection.list_collection_ids`
to list all collection ids provided by the back-end.
Expand Down Expand Up @@ -914,6 +914,8 @@ def vectorcube_from_paths(
: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.
:return: A :py:class:`VectorCube`.
.. versionadded:: 0.14.0
"""
graph = PGNode(
"load_uploaded_files",
Expand Down Expand Up @@ -1200,7 +1202,7 @@ def create_job(
def job(self, job_id: str) -> BatchJob:
"""
Get the job based on the id. The job with the given id should already exist.
Use :py:meth:`openeo.rest.connection.Connection.create_job` to create new jobs
:param job_id: the job id of an existing job
Expand All @@ -1211,7 +1213,7 @@ def job(self, job_id: str) -> BatchJob:
def service(self, service_id: str) -> Service:
"""
Get the secondary web service based on the id. The service with the given id should already exist.
Use :py:meth:`openeo.rest.connection.Connection.create_service` to create new services
:param job_id: the service id of an existing secondary web service
Expand Down Expand Up @@ -1357,4 +1359,3 @@ def paginate(con: Connection, url: str, params: dict = None, callback: Callable
url = next_links[0]["href"]
page += 1
params = {}

0 comments on commit 2602db8

Please sign in to comment.