⬆️ Bump Starlette from 0.22.0 to 0.23.0 (#5739)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Marcelo TrylesinskiandSebastián Ramírez authored and GitHub committed 2023-02-08 11:23:07 +01:00
1 parent 58757f63af
commit 9293795e99
5 files changed
+74 -4

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ async def read_main():
return {"msg": "Hello World"}
@app.websocket_route("/ws")
@app.websocket("/ws")
async def websocket(websocket: WebSocket):
await websocket.accept()
await websocket.send_json({"msg": "Hello WebSocket"})