openeo-python-client
openeo-python-client copied to clipboard
Include UDF context parameters when using execute_local_udf
At the moment the user parameters within the UDF are ignored when running locally, as the context
field in the UDF
object is dismissed here:
https://github.com/Open-EO/openeo-python-client/blob/master/openeo/udf/run_code.py#L216
Allowing user context could help to debug faster some UDFs.
A temporary solution would be hard-coding those parameters within the UDF while testing, but in my case this solution is not suitable as I'm performing unit testing of a same UDF both locally and on the cluster.