agronholm / agronholm/anyio

Support keyword arguments in callbacks

オープン
#291 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Python
スター
2.5k
フォーク
260
平均マージ
2日 8時間
マージ済み PR(30日)
19

説明

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()`

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。