Omkar008 commited on
Commit
2f880cf
1 Parent(s): 7a6ea5f

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -0
test.py CHANGED
@@ -253,6 +253,7 @@ async def test_websocket(websocket: WebSocket):
253
  message_response = requests.get(message_url, headers={"Authorization": f"Bearer {access_token}"})
254
  message_data = message_response.json()
255
 
 
256
  # Check for parts in the message payload
257
  if "payload" in message_data and "parts" in message_data["payload"]:
258
  for part in message_data["payload"]["parts"]:
 
253
  message_response = requests.get(message_url, headers={"Authorization": f"Bearer {access_token}"})
254
  message_data = message_response.json()
255
 
256
+
257
  # Check for parts in the message payload
258
  if "payload" in message_data and "parts" in message_data["payload"]:
259
  for part in message_data["payload"]["parts"]: