Skip to content

Commit

Permalink
awaiting the response from indexify server
Browse files Browse the repository at this point in the history
  • Loading branch information
diptanu committed Dec 5, 2024
1 parent 4032311 commit b415d8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion python-sdk/indexify/executor/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,10 @@ async def run(self):
headers={"Content-Type": "application/json"},
) as event_source:
if not event_source.response.is_success:
resp = await event_source.response.aread()
logging.error(
f"failed to register",
resp=str(event_source.response.content),
resp=str(resp),
status_code=event_source.response.status_code,
)
await asyncio.sleep(5)
Expand Down
2 changes: 1 addition & 1 deletion python-sdk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "indexify"
version = "0.2.35"
version = "0.2.36"
description = "Python Client for Indexify"
authors = ["Tensorlake Inc. <[email protected]>"]
license = "Apache 2.0"
Expand Down

0 comments on commit b415d8e

Please sign in to comment.