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_text("CompletedFetchingMessages")
|
317 |
|
318 |
-
await event_generator(
|
319 |
logging.info("Closing connection")
|
320 |
await websocket.close()
|
321 |
|
|
|
315 |
|
316 |
await websocket.send_text("CompletedFetchingMessages")
|
317 |
|
318 |
+
await event_generator(data)
|
319 |
logging.info("Closing connection")
|
320 |
await websocket.close()
|
321 |
|