Omkar008 commited on
Commit
11792d4
1 Parent(s): b14bd45

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -1
test.py CHANGED
@@ -313,7 +313,7 @@ async def test_websocket(websocket: WebSocket):
313
 
314
 
315
 
316
- await websocket.send_json({"message":"Successfully sent all the Data !"})
317
 
318
  await event_generator("abcdef")
319
  logging.info("Closing connection")
 
313
 
314
 
315
 
316
+ await websocket.send_text("CompletedFetchingMessages")
317
 
318
  await event_generator("abcdef")
319
  logging.info("Closing connection")