Spaces:
Running
Running
Update test.py
Browse files
test.py
CHANGED
@@ -315,7 +315,7 @@ async def test_websocket(websocket: WebSocket):
|
|
315 |
|
316 |
await websocket.send_json({"message":"Successfully sent all the Data !"})
|
317 |
|
318 |
-
await event_generator(
|
319 |
logging.info("Closing connection")
|
320 |
await websocket.close()
|
321 |
|
|
|
315 |
|
316 |
await websocket.send_json({"message":"Successfully sent all the Data !"})
|
317 |
|
318 |
+
await event_generator("abcdef")
|
319 |
logging.info("Closing connection")
|
320 |
await websocket.close()
|
321 |
|