microsoft / microsoft/azure-devops-python-api

AttributeError: module 'azure.devops' has no attribute 'connection'

Open
#447 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
684
Forks
218
Avg merge
8d 10h
Merged PRs (30d)
1

Description

Trying to use azure.devops to create a dev ops connection string, however it appears azure.devops module doesn't contain a 'connection' or 'connect' attribute.

I'm using azure.devops 6.0.04b

# Get the ADO connection string from azure runbook variable
adoconnectionstring = 'https://dev.azure.com/myname'
# Create a ADO client
client = azure.devops.connect(adoconnectionstring)
# Get the ADO project name from azure runbook variable

AttributeError: module 'azure.devops' has no attribute 'connection'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking the azure.devops package API for version 6.0.04b and compare its documented connection entry point with the reported azure.devops.connect call. Confirm whether the package exposes connection or connect; done when the supported API behavior is established and covered by an appropriate regression test or documentation update.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.