Skip to content

Commit

Permalink
Update python client for log-artifact impl
Browse files Browse the repository at this point in the history
  • Loading branch information
suprjinx committed Jul 1, 2024
1 parent 21c7038 commit 6aaa481
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/fasttrackml/store/custom_rest_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def log_image(
storage_path = posixpath.join(artifact_path, os.path.basename(filename))
request_body = {
"run_id": run_id,
"storage_path": storage_path,
"blob_uri": storage_path,
"caption": caption,
"index": index,
"width": width,
Expand All @@ -305,7 +305,7 @@ def log_image(
result = http_request(
**{
"host_creds": self.get_host_creds(),
"endpoint": "/api/2.0/mlflow/runs/log-image",
"endpoint": "/api/2.0/mlflow/runs/log-artifact",
"method": "POST",
"json": request_body,
}
Expand Down

0 comments on commit 6aaa481

Please sign in to comment.