Skip to content

Commit ce11dff

Browse files
committed
black
1 parent ae4e040 commit ce11dff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

launch/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ def delete_model_endpoint(self, model_endpoint: Union[ModelEndpoint, str]):
944944
endpoint = self.get_model_endpoint(endpoint_name)
945945
with ApiClient(self.configuration) as api_client:
946946
api_instance = DefaultApi(api_client)
947-
model_endpoint_id = endpoint.model_endpoint.id # type: ignore
947+
model_endpoint_id = endpoint.model_endpoint.id # type: ignore
948948
resp = api_instance.delete_model_endpoint_v1_model_endpoints_model_endpoint_id_delete(
949949
model_endpoint_id=model_endpoint_id,
950950
)
@@ -1056,7 +1056,7 @@ def _async_request(
10561056
request = EndpointPredictRequest(
10571057
return_pickled=return_pickled, url=url, args=args
10581058
)
1059-
model_endpoint_id = endpoint.model_endpoint.id # type: ignore
1059+
model_endpoint_id = endpoint.model_endpoint.id # type: ignore
10601060
resp = api_instance.create_sync_inference_task_v1_sync_tasks_post(
10611061
model_endpoint_id=model_endpoint_id,
10621062
endpoint_predict_request=request,

0 commit comments

Comments
 (0)