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 摘要。