microsoft / microsoft/azure-devops-python-api

task_agent_client get_environment_deployment_execution_records does not return a continuation token

未关闭
#366 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Python
星标
684
派生
218
平均合并
8 天 10 小时
30 天内合并 PR
1

描述

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

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 task_agent_client 中的 get_environment_deployment_execution_records 开始,将其响应处理方式与 build_client.py 第 450 行附近的 get_builds 进行比较,同时参考 issue 152 中提到的修复。确认 API 响应中如何表示 continuation token,并确保该方法返回它,以便调用方可以对结果进行分页。

由索引模型根据 Issue 内容生成。

评估

技术栈
azure, python
领域
api, backend
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。