Omkar008 commited on
Commit
715487f
1 Parent(s): b42bcc4

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -1
test.py CHANGED
@@ -163,7 +163,7 @@ async def test_websocket(websocket: WebSocket):
163
  print("Hi hi working")
164
  # await websocket.send_json({"message":"Yes Websockets successfull"})
165
  print("working after line 163")
166
- data = websocket.receive_json()
167
  print(data)
168
  # code = data.get("message")
169
  # print(code)
 
163
  print("Hi hi working")
164
  # await websocket.send_json({"message":"Yes Websockets successfull"})
165
  print("working after line 163")
166
+ data = await websocket.receive_json()
167
  print(data)
168
  # code = data.get("message")
169
  # print(code)