Unanswered
Hi All,
Is There Anyway To Get The Id Of The Pipeline Using Pipeline Name? I Need The Id Of The Pipeline So That I Can Schedule The Pipeline To Run Via
But this is a different script for TaskScheduler
, something like below:
scheduler = TaskScheduler(...)
task_to_schedule = Task.get_task(project_name='MyProject',
task_name='MyTask')
scheduler.add_task(schedule_task_id=task_to_schedule.id, ...)
# Do we have something similar to this? Like below
# pipeline_to_schedule = Task.get_task(project_name='MyProject',
# task_name='MyPipeline')
# scheduler.add_task(schedule_task_id=pipeline_to_schedule.id, ...)
156 Views
0
Answers
one year ago
one year ago