From 6ca923635fd22108213654cc69eb76628ba901fd Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Thu, 5 May 2022 10:41:14 -0500 Subject: [PATCH] formatting --- nbclient/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nbclient/util.py b/nbclient/util.py index c59f9ad..8000a04 100644 --- a/nbclient/util.py +++ b/nbclient/util.py @@ -62,9 +62,9 @@ def just_run(coro: Awaitable) -> Any: return loop.run_until_complete(coro) - T = TypeVar("T") + def run_sync(coro: Callable[..., Awaitable[T]]) -> Callable[..., T]: """Runs a coroutine and blocks until it has executed.