microsoft / microsoft/azure-devops-python-api
AttributeError: 'ClientFactoryV5_1' object has no attribute 'get_test_results_client'
未关闭
还没有人认领这个 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?
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 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