Thank you for sharing this information.
I am actually doing it as you can see below but the PipelineJobSchedule overwrites it with only vertex-ai-pipelines-run-billing-id label?
pipeline_job = aiplatform.PipelineJob(
template_path="COMPILED_PIPELINE_PATH",
pipeline_root="PIPELINE_ROOT_PATH",
display_name="DISPLAY_NAME",
labels={"name":"test_xx"} // This line adds label to the Vertex pipeline when creating the pipeline
)
pipeline_job_schedule = aiplatform.PipelineJobSchedule(
pipeline_job=pipeline_job,
display_name="SCHEDULE_NAME"
)
pipeline_job_schedule.create(
cron="TZ=CRON",
max_concurrent_run_count=MAX_CONCURRENT_RUN_COUNT,
max_run_count=MAX_RUN_COUNT,
)```
There was a bug in the Vertex AI platform SDK which has been discussed in the Github issue ticket below and it has also been fixed in latest SDK versions 1.37.0 (released on December 5th, 2023).