python - 如何从 tfs 中提取链接到 python 中工作项的变更集?
问题描述
我想使用 Microsoft TFS Python 库在 python 中提取变更集和受变更集影响的类的名称。https://devopshq.github.io/tfs/index.html
我已经使用 python 连接到 TFS 并且能够检索所有必需的工作项。我想提取与工作项关联的变更集。
我已使用以下代码进行连接。
from tfs import TFSAPI
user="xxxxxxxxxxxxx"
password="xxxxxxxxxxxxxx"
from requests_ntlm import HttpNtlmAuth
client = TFSAPI("https://xyzjds.com", project="abc", user=user,password=password, auth_type=HttpNtlmAuth)
query = client.run_query('xxxxxxxxxxxxxxx')
workitems = query.workitems
现在我所有的工作项都不知道如何访问工作项的变更集。
解决方案
推荐阅读
- java - 如何将 MediaPlayer 对象从 JobScheduler 的 JobService 传递给 AsyncTask
- r - 使用带有 textTinyR (Doc2Vec) 的预保存词向量的文件路径
- c - localtime, mktime:第二次标准化和 DST 行为
- navbar - 如何使这个导航栏内联
- vb.net - 数据类型不匹配 vb net
- python - 使用 openpyxl 破坏了其他工作表格式
- azure - 执行 connect-AzureRm 命令 Powershell 时检索缓存令牌时出错
- sqlite - 减法 SQLite
- robotframework - 机器人框架 - 如何为 Chrome 指定默认下载位置?
- asp.net - 无法识别的标记前缀或设备过滤器“asp”