Skip to content

Commit 8942499

Browse files
committed
fixed method name
1 parent 6c01380 commit 8942499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ads/aqua/extension/deployment_handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,10 +395,10 @@ def get(self, model_deployment_id):
395395
self.set_header("Content-Type", "application/json")
396396
endpoint: str = ""
397397
model_deployment = AquaDeploymentApp().get(model_deployment_id)
398-
endpoint = model_deployment.endpoint.rstrip("/") + "/predict/v1/models"
398+
endpoint = model_deployment.endpoint.rstrip("/") + "/predict/v1/models"
399399
aqua_client = Client(endpoint=endpoint)
400400
try:
401-
list_model_result = aqua_client.list_models()
401+
list_model_result = aqua_client.fetch_data()
402402
return self.finish(list_model_result)
403403
except Exception as ex:
404404
raise HTTPError(500, str(ex))

0 commit comments

Comments
 (0)