You can't run them in this way that you will take YAML code and put it python or actually any language and run it locally. You need to build agent to run your pipeline. So you can create a pool, install agent on you local machine, change your pipeline to use this pool.
I have multiple pipelines with scripts defined on my azure devops.
I would like to be able to run them from my local machine using python.
Is this possible?
If yes, how to achieve it?
Regards,
Maciej
Is there a way to run azure-devops pipeline from python?