Skip to content

Commit 54b4872

Browse files
authored
♻️ Import anyio.from_thread and anyio.to_thread explicitly (#201)
1 parent a208b7d commit 54b4872

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

asyncer/_main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
from typing_extensions import ParamSpec
2020

2121
import anyio
22+
import anyio.from_thread
23+
import anyio.to_thread
2224
import sniffio
2325
from anyio._core._eventloop import threadlocals
2426
from anyio.abc import TaskGroup as _TaskGroup

0 commit comments

Comments
 (0)