We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
not_is_async_callable()
1 parent eacb07b commit d6b2420Copy full SHA for d6b2420
shiny/_utils.py
@@ -362,10 +362,10 @@ def is_async_callable(
362
return False
363
364
365
-# def not_is_async_callable(
366
-# obj: Callable[P, T] | Callable[P, Awaitable[T]]
367
-# ) -> TypeGuard[Callable[P, T]]:
368
-# return not is_async_callable(obj)
+def not_is_async_callable(
+ obj: Callable[P, T] | Callable[P, Awaitable[T]]
+) -> TypeGuard[Callable[P, T]]:
+ return not is_async_callable(obj)
369
370
371
# See https://stackoverflow.com/a/59780868/412655 for an excellent explanation
0 commit comments