microsoft / microsoft/azure-devops-python-api

task_agent_client get_environment_deployment_execution_records does not return a continuation token

オープン
#366 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Python
スター
684
フォーク
218
平均マージ
8日 10時間
マージ済み PR(30日)
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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

task_agent_client の get_environment_deployment_execution_records から始め、レスポンスの処理を build_client.py の 450 行目付近にある get_builds、および issue 152 で参照されている修正と比較してください。API レスポンスで継続トークンがどのように表現されているかを確認し、呼び出し元が結果をページングできるように、メソッドがそれを返すことを सुनिश्चितしてください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, python
領域
api, backend
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。