Open-EO / openeo-python-client

Python client API for OpenEO
https://open-eo.github.io/openeo-python-client/
Apache License 2.0
143 stars 36 forks source link

Specify Exception for "No UDF found" when the arguments are incorrect #545

Open VictorVerhaert opened 4 months ago

VictorVerhaert commented 4 months ago

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