provide helper for invoking Python methods
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 1.8k
- Forks
- 349
- Avg merge
- 5h 13m
- Merged PRs (30d)
- 4
Description
E.g. given an object x with method foo, it'd be nice if we could invoke the method with something like:
py_invoke(x, "foo", ...)
One could of course invoke it by name with x$foo(), but that's less useful when the method name is referenced by a variable.
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 by reading reticulate's existing Python method invocation path, especially the x$foo() interface, and compare how method names and arguments are handled. Done means providing a helper that accepts an object, a method name held in a variable, and invocation arguments, with behavior consistent with direct method calls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, r
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100