.venv/lib/python3.11/site-packages/websockets/legacy/server.py:1185: DeprecationWarning: remove second argument of ws_handler warnings.warn("remove second argument of ws_handler", DeprecationWarning) #2476
-
Hello
In websockets 13.0 (very recent version), there are breaking changes about I think uvicorn still defines the websocket handler with the previous signature: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 12 replies
-
Second it. That deprecation warning is confusing to the users of our framework. I can do a PR if that's OK? |
Beta Was this translation helpful? Give feedback.
-
There is also:
|
Beta Was this translation helpful? Give feedback.
-
But also... Just to clarify... The warning you see on the description of this discussion was left on purpose because I wanted to support old |
Beta Was this translation helpful? Give feedback.
Second it. That deprecation warning is confusing to the users of our framework.
I can do a PR if that's OK?