Open-EO / Open-EO/openeo-python-client
"context" argument support for "callback as a callable" feature
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 217
- Forks
- 56
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 2
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the callback-as-callable documentation and related issue #223, then trace the reduce_dimension example to understand how callable arguments are currently handled. Define how child processes should receive a context argument; the work is done when callable callbacks can access context consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100