Skip to content

Commit

Permalink
Fix mypy error.
Browse files Browse the repository at this point in the history
  • Loading branch information
carltongibson committed Dec 14, 2022
1 parent ae3cfba commit 1689063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asgiref/sync.py
Expand Up @@ -37,7 +37,7 @@ def markcoroutinefunction(func: Any) -> Any:
if hasattr(inspect, "markcoroutinefunction"):
return inspect.markcoroutinefunction(func)
else:
func._is_coroutine = asyncio.coroutines._is_coroutine
func._is_coroutine = asyncio.coroutines._is_coroutine # type: ignore
return func


Expand Down

0 comments on commit 1689063

Please sign in to comment.