Skip to content

Commit

Permalink
fix: Fix example usage of batch delete pipelinejobs.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 599910083
  • Loading branch information
vertex-sdk-bot authored and Copybara-Service committed Jan 19, 2024
1 parent 191a1aa commit 3b28d64
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions google/cloud/aiplatform/preview/pipelinejob/pipeline_jobs.py
Expand Up @@ -128,11 +128,11 @@ def batch_delete(
) -> aiplatform_v1beta1.BatchDeletePipelineJobsResponse:
"""
Example Usage:
pipeline_job = aiplatform.PipelineJob(
display_name='job_display_name',
template_path='your_pipeline.yaml',
)
pipeline_job.batch_delete(
aiplatform.init(
project='your_project_name',
location='your_location',
)
aiplatform.PipelineJob.batch_delete(
names=['pipeline_job_name', 'pipeline_job_name2']
)
Expand Down

0 comments on commit 3b28d64

Please sign in to comment.