openeo-python-client icon indicating copy to clipboard operation
openeo-python-client copied to clipboard

Include UDF context parameters when using execute_local_udf

Open GriffinBabe opened this issue 10 months ago • 0 comments

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.

GriffinBabe avatar Apr 11 '24 13:04 GriffinBabe