microsoft / microsoft/azure-devops-python-api
release_ids_filter returns zero responses
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 684
- Forks
- 218
- Avg merge
- 8d 10h
- Merged PRs (30d)
- 1
Description
Running the below request:
releaseid_split='1,2,3'
def approvers(self):
return self._release_client.get_approvals(project=_project,release_ids_filter=releaseid_split)
Where I am passing in the release ids the results are always null in the above method call on the requests class unless blank data is sent through.
Running this via a request you get data back data as I would expect:
requests.get(f'https://vsrm.dev.azure.com/{ORG}/'+_project+'/_apis/release/approvals?api-version=5.1&releaseIdsFilter='+releaseid_split, auth=('', TOKEN)).json()
The same response just via a different means returns data as expected with the correct release data.
Is there something I am missing?
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 at _release_client.get_approvals and compare its release_ids_filter request with the direct requests.get call shown in the issue. Reproduce both calls with release IDs 1,2,3 and with blank input, then verify that the client returns the same release approval data as the direct request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100