Support keyword arguments in callbacks
Open
enhancement
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 260
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 19
Description
When supplying sync functions and coroutine functions as callbacks, `anyio` should accept and supply keyword arguments when calling them.
The following functions accept and supply `*args` to callbacks, but not keyword arguments:
- `anyio.to_thread.run_sync()`
- `anyio.to_process.run_sync()`
- `anyio.from_thread.run_sync()`
Contributor guide
Assessment
This issue has not been assessed yet.