Spaces:
Running
Running
Update test.py
Browse files
test.py
CHANGED
@@ -243,6 +243,7 @@ async def test_websocket(websocket: WebSocket):
|
|
243 |
messages=get_messages(access_token)
|
244 |
print(len(messages))
|
245 |
await websocket.send_json({"total_messages": len(messages)})
|
|
|
246 |
|
247 |
|
248 |
attachments = []
|
|
|
243 |
messages=get_messages(access_token)
|
244 |
print(len(messages))
|
245 |
await websocket.send_json({"total_messages": len(messages)})
|
246 |
+
await websocket.send_json({"message":"Successfully sent all the Data !"})
|
247 |
|
248 |
|
249 |
attachments = []
|