Open-EO / Open-EO/openeo-python-client

Future proof `load_ml_model`

Open
#606 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

api compliancy technical debt
Dominant language
Python
Stars
217
Forks
56
Avg merge
1d 22h
Merged PRs (30d)
2

Description

https://github.com/Open-EO/openeo-python-client/blob/e930f72fd75c4552ef9e63bc7edf9711f070abe5/openeo/rest/mlmodel.py#L45-L59

This API, with id argument is outdated (removed by https://github.com/Open-EO/openeo-processes/pull/417), and will be replaced by argument uri (by https://github.com/Open-EO/openeo-processes/pull/441)

we have to make sure the python client is future proof here (possibly with some backward compatibility tricks)

related:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with openeo/rest/mlmodel.py lines 45-59 and compare the current load_ml_model API with the linked openeo-processes changes removing id and introducing uri. Review openeo-python-driver issue 306 for related compatibility concerns; done means the client supports the future uri-based API while preserving backward compatibility where required.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.