Skip to content

Commit 722dfdd

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

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sqlalchemy_database/_abc_async_database.py

Lines changed: 1 addition & 2 deletions
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)