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

"context" argument support for "callback as a callable" feature #224

Open
soxofaan opened this issue Aug 20, 2021 · 0 comments
Open

"context" argument support for "callback as a callable" feature #224

soxofaan opened this issue Aug 20, 2021 · 0 comments

Comments

@soxofaan
Copy link
Member

related to #223 :

The "callback as a callable" feature (https://open-eo.github.io/openeo-python-client/processes.html#callback-as-a-callable) only support arguments like "x" or "data", e.g.

def avg(data):
    return data.mean()

cube.reduce_dimension(avg, dimension="t")

These "child processes" in principle can also access a "context" argument, so support should be added for that in some way.

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

1 participant