Skip to content

Commit 722dfdd

Browse files
committed
fix: Compatible python3.9+,Skip import asyncio bug
1 parent 8e41413 commit 722dfdd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sqlalchemy_database/_abc_async_database.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import abc
2+
import asyncio
23
import functools
3-
44
from typing import TypeVar, Callable
55

66
try:
77
from asyncio import to_thread # python 3.9+
88
except ImportError:
9-
import asyncio
109
import contextvars
1110
from typing_extensions import ParamSpec
1211

0 commit comments

Comments
 (0)