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

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +3 -0
test.py CHANGED
@@ -305,6 +305,9 @@ async def test_websocket(websocket: WebSocket):
305
 
306
 
307
  await websocket.send_text("Successfully sent all the Data !")
 
 
 
308
  @app.get("/token")
309
  async def get_token(token: str = Depends(oauth2_scheme)):
310
  return jwt.decode(token, GOOGLE_CLIENT_SECRET, algorithms=["HS256"])
 
305
 
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)):
313
  return jwt.decode(token, GOOGLE_CLIENT_SECRET, algorithms=["HS256"])