Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert unrelated change
  • Loading branch information
lovelydinosaur committed Dec 13, 2023
commit e3532aa68043b5a52d3ef6c2e8b7b6ba09bcf638
4 changes: 2 additions & 2 deletions httpx/_transports/asgi.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import typing

import sniffio

from .._models import Request, Response
from .._types import AsyncByteStream
from .base import AsyncBaseTransport
Expand All @@ -23,8 +25,6 @@


def create_event() -> "Event":
import sniffio

if sniffio.current_async_library() == "trio":
import trio

Expand Down