Open-EO / Open-EO/openeo-python-client
Specify Exception for "No UDF found" when the arguments are incorrect
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 217
- Forks
- 56
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 2
Description
When the arguments of e.g. apply_datacube to not match, the error states "No UDF found."
This could be made clearer and more specific to point a user in the right direction of changing the arguments.
Related code:
https://github.com/Open-EO/openeo-python-client/blob/7ce92925dd9544ff116b14c0339de203f854ec27/openeo/udf/run_code.py#L147-L203
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 with openeo/udf/run_code.py at lines 147-203 and reproduce an apply_datacube call whose arguments do not match. Clarify the resulting error so it points users toward correcting the arguments, and add or update coverage for the incorrect-argument case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100