diff --git a/python-sdk/indexify/executor/agent.py b/python-sdk/indexify/executor/agent.py index f7fcd1bef..14b9601b9 100644 --- a/python-sdk/indexify/executor/agent.py +++ b/python-sdk/indexify/executor/agent.py @@ -310,11 +310,9 @@ async def run(self): headers={"Content-Type": "application/json"}, ) as event_source: if not event_source.response.is_success: - resp = await event_source.response - resp_content = resp.aread() logging.error( f"failed to register", - resp=str(resp_content), + resp=str(event_source.response.content), status_code=event_source.response.status_code, ) await asyncio.sleep(5) diff --git a/python-sdk/pyproject.toml b/python-sdk/pyproject.toml index 4749ea288..72a55c731 100644 --- a/python-sdk/pyproject.toml +++ b/python-sdk/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "indexify" -version = "0.2.34" +version = "0.2.35" description = "Python Client for Indexify" authors = ["Tensorlake Inc. "] license = "Apache 2.0"