Spaces:
Running
Running
Update test.py
Browse files
test.py
CHANGED
@@ -306,7 +306,7 @@ async def test_websocket(websocket: WebSocket):
|
|
306 |
|
307 |
await websocket.send_text("Successfully sent all the Data !")
|
308 |
|
309 |
-
event_generator(data)
|
310 |
|
311 |
@app.get("/token")
|
312 |
async def get_token(token: str = Depends(oauth2_scheme)):
|
|
|
306 |
|
307 |
await websocket.send_text("Successfully sent all the Data !")
|
308 |
|
309 |
+
await event_generator(data)
|
310 |
|
311 |
@app.get("/token")
|
312 |
async def get_token(token: str = Depends(oauth2_scheme)):
|