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
Hi @<1523701205467926528:profile|AgitatedDove14> , The code returns the project, but if I use the same project in get_task
it's throwing ValueError
task_to_schedule: Task = Task.get_task(task_id='b0732c334115432f8dc0cec0dbfdbdcb')
print(task_to_schedule.get_project_name())
# Output: Project Team NASA/.pipelines/NASA Pipeline
print(task_to_schedule.name)
# Output: NASA Pipeline #11
task: Task = Task.get_task(project_name=task_to_schedule.get_project_name(),
task_name=task_to_schedule.name)
# Error: ValueError: No projects found when searching for `Project Team NASA/.pipelines/NASA Pipeline`
153 Views
0
Answers
one year ago
one year ago