agronholm / agronholm/anyio

Support keyword arguments in callbacks

Open
#291 1 comment 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.