Skip to content

Commit

Permalink
vendor the whole shebang
Browse files Browse the repository at this point in the history
  • Loading branch information
axiomofjoy committed Oct 28, 2024
1 parent 7dc862d commit 168e6bc
Show file tree
Hide file tree
Showing 6 changed files with 1,630 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
from asgi_lifespan import LifespanManager
from faker import Faker
from httpx import AsyncByteStream, Request, Response
from httpx_ws import AsyncWebSocketSession, aconnect_ws
from psycopg import Connection
from pytest_postgresql import factories
from sqlalchemy import URL, make_url
Expand All @@ -52,7 +51,8 @@
from phoenix.server.types import BatchedCaller, DbSessionFactory
from phoenix.session.client import Client
from phoenix.trace.schemas import Span
from tests.unit.ws_transport import ASGIWebSocketTransport
from tests.unit.httpx_ws import AsyncWebSocketSession, aconnect_ws
from tests.unit.httpx_ws.transport import ASGIWebSocketTransport


def pytest_terminal_summary(
Expand Down
29 changes: 29 additions & 0 deletions tests/unit/httpx_ws/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
__version__ = "0.6.2"

from ._api import (
AsyncWebSocketSession,
JSONMode,
WebSocketSession,
aconnect_ws,
connect_ws,
)
from ._exceptions import (
HTTPXWSException,
WebSocketDisconnect,
WebSocketInvalidTypeReceived,
WebSocketNetworkError,
WebSocketUpgradeError,
)

__all__ = [
"AsyncWebSocketSession",
"HTTPXWSException",
"JSONMode",
"WebSocketDisconnect",
"WebSocketInvalidTypeReceived",
"WebSocketNetworkError",
"WebSocketSession",
"WebSocketUpgradeError",
"aconnect_ws",
"connect_ws",
]
Loading

0 comments on commit 168e6bc

Please sign in to comment.