Use functools.partial ; it's a standard way to do such things, and it's specifically recommended in the docs for loop.run_in_executor ...
確定! 回上一頁