Support keyword arguments in callbacks
Aperta
enhancement
- Lingua principale
- Python
- Stelle
- 2.5k
- Fork
- 260
- Merge medio
- 1g 8h
- PR unite (30g)
- 17
Descrizione
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()`
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.