Skip to content

Commit 2e9f14e

Browse files
committed
Fixes issue with fetching inference pipeline
1 parent 32e0dfb commit 2e9f14e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openlayer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ def load_inference_pipeline(
965965
) -> InferencePipeline:
966966
"""Loads an existing inference pipeline from an Openlayer project."""
967967
name = name or "Production"
968-
endpoint = f"/projects/{project_id}/inference-pipelines?name={name}"
968+
endpoint = f"projects/{project_id}/inference-pipelines?name={name}"
969969
inference_pipeline_data = self.api.get_request(endpoint)
970970
if len(inference_pipeline_data["items"]) == 0:
971971
raise exceptions.OpenlayerResourceNotFound(

0 commit comments

Comments
 (0)