formatting

This commit is contained in:
Jörn-Michael Miehe 2022-08-31 10:21:55 +00:00
parent 12f0c5cb8f
commit 21805b0d8a

View file

@ -20,7 +20,10 @@ def run_in_executor(f):
@functools.wraps(f)
def inner(*args, **kwargs):
loop = asyncio.get_running_loop()
return loop.run_in_executor(None, functools.partial(f, *args, **kwargs))
return loop.run_in_executor(
None,
functools.partial(f, *args, **kwargs),
)
return inner