microsoft / microsoft/azure-devops-python-api

AttributeError: 'ClientFactoryV5_1' object has no attribute 'get_test_results_client'

未關閉
#344 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
Python
星號
684
分支
218
平均合併
8 天 10 小時
30 天內合併 PR
1

描述

test_results_client = connection.clients.get_test_results_client()
test_results_client = connection.clients_v5_1.get_test_results_client()
test_results_client = connection.clients_v6_0.get_test_results_client()

I get the same attribute error of get_test_results having no attribute.
I looked in client_factory, client_factory[5.1], and client_factory[6.0] and the method is there.

-Any ideas?

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

先重現三次 get_test_results_client() 呼叫,並比較 client_factory、client_factory[5.1] 和 client_factory[6.0] 中公開的方法。確定為什麼執行時的 ClientFactoryV5_1 物件缺少該方法,儘管這些位置中存在該方法;當報告的呼叫不再引發 AttributeError 且行為已獲驗證時,即視為完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
azure, python
領域
api
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。