Skip to content

Commit 3d2b0ea

Browse files
committed
refactor: remove improperly exposed private module variables
1 parent 6ddb50e commit 3d2b0ea

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/fastapi_proxy_lib/core/websocket.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,13 @@
5555
)
5656
DEFAULT_QUEUE_SIZE = 512 # pyright: ignore[reportConstantRedefinition]
5757

58-
msg = dedent(
59-
"""\
60-
Can not import the default httpx_ws arguments, please open an issue on:
61-
https://github.com/WSH032/fastapi-proxy-lib\
62-
"""
63-
)
6458
warnings.warn(
65-
msg,
59+
dedent(
60+
"""\
61+
Can not import the default httpx_ws arguments, please open an issue on:
62+
https://github.com/WSH032/fastapi-proxy-lib\
63+
"""
64+
),
6665
RuntimeWarning,
6766
stacklevel=1,
6867
)

0 commit comments

Comments
 (0)