Open-EO / Open-EO/openeo-python-client
Auto-conversions in the generic `DataCube.process` method
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 217
- Forks
- 56
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 2
Description
If you pass special objects (e.g. functions and Date objects) to the generic process function, they are not converted automatically to something useful. Instead, the user has to convert them first, which is especially confusing for functions as there's only a private function for conversion (_get_callback). I think it would be beneficial to convert as much as possible generally so that it doesn't need a Python client release every time a new process with one of these types comes up.
Originates from PR https://github.com/Open-EO/openeo-python-client/pull/230#issuecomment-913785818
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the generic DataCube.process method and the private _get_callback conversion path mentioned in the issue. Review the originating PR discussion for context, then define which special objects should be converted automatically and how new process types can work without a client release. Done means the generic process method handles the agreed conversions consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100