Closed saforem2 closed 1 year ago
Since v0.17.3 use
from httpcore import AsyncNetworkStream, NetworkStream
instead of
from httpcore.backends.base import AsyncNetworkStream, NetworkStream
ref: https://github.com/encode/httpcore/blob/master/CHANGELOG.md#0173-5th-july-2023
fixed and updated in #36
Thank you @saforem2 for raising this and @wimglenn for pointing out the fix :) That's the risk when we rely on private API 😅
Describe the bug
Trying to run a different project jpterm and encountered the following traceback:
I've identified the problem to be coming from this line in your
httpx_ws/_api.py:L14
filehttps://github.com/frankie567/httpx-ws/blob/f0e4d4b124d3ca7b0a85178f8294c22542841ce5/httpx_ws/_api.py#L14
Replacing
with
resolved the issue.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Configuration
Additional context
Add any other context about the problem here.