Skip to content

Commit 9c64ee2

Browse files
authored
from inspect import iscoroutinefunction not asyncio
Fixes: #50 ```diff - from asyncio import iscoroutinefunction + from inspect import iscoroutinefunction ``` https://github.com/search?q=repo%3Adjango-commons%2Fdjango-valkey+iscoroutinefunction&type=code
1 parent aca2863 commit 9c64ee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_valkey/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import functools
44
import inspect
55
import logging
6-
from asyncio import iscoroutinefunction
76
from collections.abc import AsyncGenerator, Callable, Iterator
7+
from inspect import iscoroutinefunction
88
from typing import (
99
Any,
1010
TypeVar,

0 commit comments

Comments
 (0)