microsoft / microsoft/azure-devops-python-api
AttributeError: 'ClientFactoryV5_1' object has no attribute 'get_test_results_client'
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 684
- Forks
- 218
- Avg merge
- 8d 10h
- Merged PRs (30d)
- 1
Description
test_results_client = connection.clients.get_test_results_client()
test_results_client = connection.clients_v5_1.get_test_results_client()
test_results_client = connection.clients_v6_0.get_test_results_client()
I get the same attribute error of get_test_results having no attribute.
I looked in client_factory, client_factory[5.1], and client_factory[6.0] and the method is there.
-Any ideas?
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.
Research direction
Start by reproducing the three get_test_results_client() calls and compare the exposed methods in client_factory, client_factory[5.1], and client_factory[6.0]. Determine why the runtime ClientFactoryV5_1 objects lack the method despite its presence in those locations; done means the reported calls no longer raise AttributeError and the behavior is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100