list_pipelines() always throws AzureDevOpsAuthenticationError - azure-devops v7.1.0b4
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by reproducing the failure with the provided Python snippet using azure-devops==7.1.0b4 and a valid Azure DevOps PAT. Trace the list_pipelines() call through the pipelines client and authentication handling; done means the call lists pipelines without raising AzureDevOpsAuthenticationError.
Written by the indexing model from the issue text.
Description
Hi,
I can't get the list of Azure Pipelines because the function list_pipelines() always throws an AzureDevOpsAuthenticationError.
Steps to reproduce the error:
- Create an Azure DevOps PAT with Full access.
- Install the version 7.1.0b4:
pip install azure-devops==7.1.0b4 - Replace the parameter values with you PAT and Azure DevOps parameters and run this code:
from azure.devops.connection import Connection
from msrest.authentication import BasicAuthentication
personal_access_token = "PAT"
organization = "contoso"
project = "project-one"
credentials = BasicAuthentication('', personal_access_token)
connection = Connection(base_url=f'https://dev.azure.com/{organization}', creds=credentials)
pipelines_client = connection.clients.get_pipelines_client()
pipelines_list = pipelines_client.list_pipelines(project)
- Dominant language
- Python
- Stars
- 684
- Forks
- 218
- Avg merge
- 8d 10h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/azure-devops-python-api
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
All issues in microsoft/azure-devops-python-api
Similar issues
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DiamondLightSource/dodal#2211 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
openml/openml-python#1749 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sipyourdrink-ltd/bernstein#6191 ·