microsoft / microsoft/azure-devops-python-api

task_agent_client get_environment_deployment_execution_records does not return a continuation token

Open
#366 0 comments 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

The get_environment_deployment_execution_records method in the task_agent_client will accept a continuation token as a parameter but does not return one when called. This means it is not possible to correctly page through the results.

I note that a similar issue for the get_builds method in the build_client was fixed here https://github.com/microsoft/azure-devops-python-api/issues/152. Hopefully it's a case of adding something similar this https://github.com/microsoft/azure-devops-python-api/blob/dev/azure-devops/azure/devops/v5_1/build/build_client.py#L450

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 with get_environment_deployment_execution_records in task_agent_client and compare its response handling with get_builds in build_client.py around line 450, as well as the fix referenced in issue 152. Confirm how the continuation token is represented in the API response and ensure the method returns it so callers can page through results.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
api, backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.