Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added list_udf_runtimes for localconnection #502

Merged
merged 2 commits into from
Nov 14, 2023

Conversation

VincentVerelst
Copy link
Collaborator

No description provided.


:return: data_dict: Dict All available UDF runtimes
"""
runtimes = {"Python": "Python"}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see https://openeo.org/documentation/1.0/developers/api/reference.html#tag/Capabilities/operation/list-udf-runtimes for expected schema here. e.g. should be something like

{
  "Python": {
    "title": "Python 3",
    "type": "language",
    "versions": {"3": {"libraries": {}}},
    "default": "3"
  }
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI: also see https://openeo.vito.be/openeo/1.1/udf_runtimes for what VITO backend currently returns in practice

"""
Loads all available UDF runtimes.

:return: data_dict: Dict All available UDF runtimes
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
:return: data_dict: Dict All available UDF runtimes
:return: All available UDF runtimes

@soxofaan soxofaan merged commit d1ce448 into Open-EO:master Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants