Using python sdk can we read particular version of pipeline like if pipeline has two version then can we read first version.
this line
pipeline=sch.pipelines.get(name="Test")
gives latest version only can we get previous version also.
Using python sdk can we read particular version of pipeline like if pipeline has two version then can we read first version.
this line
pipeline=sch.pipelines.get(name="Test")
gives latest version only can we get previous version also.
Best answer by Bikram
Can you please try the below code snippet and check if it helps.
# Get the history of the pipeline
pipeline_history = client.get_pipeline_history('pipeline_name')
# Get the previous version of the pipeline
previous_pipeline = pipeline_history[1]
# Print information about the previous pipeline
print("Previous pipeline version:", previous_pipeline['version'])
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.