diff --git a/.gitignore b/.gitignore index 953ccec..e6be50a 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ node_modules/ results/ site/ target/ +venv/ # files **/*.so diff --git a/backgrounder/concurrency.py b/backgrounder/concurrency.py index 3da870c..9fc8eef 100644 --- a/backgrounder/concurrency.py +++ b/backgrounder/concurrency.py @@ -35,7 +35,7 @@ def enforce_async_callable(func: Callable[..., Any]) -> Callable[..., Awaitable[ """ Enforces the callable to be async by returning an AsyncCallable. """ - return func if is_async_callable(func) else AsyncCallable(func) # type:ignore + return func if is_async_callable(func) else AsyncCallable(func) class AsyncCallable: