Skip to content

Commit

Permalink
♻️ Import anyio.from_thread and anyio.to_thread explicitly (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo authored Aug 24, 2024
1 parent a208b7d commit 54b4872
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions asyncer/_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
from typing_extensions import ParamSpec

import anyio
import anyio.from_thread
import anyio.to_thread
import sniffio
from anyio._core._eventloop import threadlocals
from anyio.abc import TaskGroup as _TaskGroup
Expand Down

0 comments on commit 54b4872

Please # to comment.