Skip to content

Commit

Permalink
update python sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
diptanu committed Oct 12, 2024
1 parent c8d7524 commit 9ab3ee8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python-sdk/indexify/executor/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async def download_input(self, task: Task) -> IndexifyData:

reducer_url = None
if task.reducer_output_id:
reducer_url = f"{self.base_url}/namespaces/{task.namespace}/compute_graphs/{task.compute_graph}/invocations/{task.invocation_id}/fn/{task.compute_fn}/{task.reducer_output_id}"
reducer_url = f"{self.base_url}/namespaces/{task.namespace}/compute_graphs/{task.compute_graph}/invocations/{task.invocation_id}/fn/{task.compute_fn}/output/{task.reducer_output_id}"

console.print(
Panel(
Expand Down
2 changes: 1 addition & 1 deletion python-sdk/indexify/http_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def _download_output(
output_id: str,
) -> IndexifyData:
response = self._get(
f"namespaces/{namespace}/compute_graphs/{graph}/invocations/{invocation_id}/fn/{fn_name}/{output_id}",
f"namespaces/{namespace}/compute_graphs/{graph}/invocations/{invocation_id}/fn/{fn_name}/output/{output_id}",
)
response.raise_for_status()
data_dict = msgpack.unpackb(response.content)
Expand Down

0 comments on commit 9ab3ee8

Please sign in to comment.