Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include UDF context parameters when using execute_local_udf #556

Open
GriffinBabe opened this issue Apr 11, 2024 · 0 comments
Open

Include UDF context parameters when using execute_local_udf #556

GriffinBabe opened this issue Apr 11, 2024 · 0 comments

Comments

@GriffinBabe
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants