This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 9c66132af6 fix: docstring in endpoint_service.py (#34135)
9c66132af6 is described below

commit 9c66132af6e75924c5dbc2c4536ab381582a9292
Author: Fabio Grasso <[email protected]>
AuthorDate: Thu Sep 7 03:05:45 2023 +0200

    fix: docstring in endpoint_service.py (#34135)
    
    The docstring in the class UndeployModelOperator regarding the endpoint_id 
is not correct. This parameter accept only the id of the endpoint and not the 
path as written 'projects/{project}/locations/{location}/endpoints/{endpoint}'
---
 airflow/providers/google/cloud/operators/vertex_ai/endpoint_service.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/airflow/providers/google/cloud/operators/vertex_ai/endpoint_service.py 
b/airflow/providers/google/cloud/operators/vertex_ai/endpoint_service.py
index eb8eec3936..9f2ea4dac8 100644
--- a/airflow/providers/google/cloud/operators/vertex_ai/endpoint_service.py
+++ b/airflow/providers/google/cloud/operators/vertex_ai/endpoint_service.py
@@ -463,8 +463,7 @@ class UndeployModelOperator(GoogleCloudBaseOperator):
 
     :param project_id: Required. The ID of the Google Cloud project that the 
service belongs to.
     :param region: Required. The ID of the Google Cloud region that the 
service belongs to.
-    :param endpoint_id:  Required. The name of the Endpoint resource from 
which to undeploy a Model. Format:
-        ``projects/{project}/locations/{location}/endpoints/{endpoint}``
+    :param endpoint_id:  Required. The ID of the Endpoint resource from which 
to undeploy a Model.
     :param deployed_model_id:  Required. The ID of the DeployedModel to be 
undeployed from the Endpoint.
     :param traffic_split: If this field is provided, then the Endpoint's
         [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] 
will be overwritten with it. If

Reply via email to