Omkar008 commited on
Commit
43970d9
1 Parent(s): 4a1f890

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -1
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)):