在用于 Azure DevOps 的 Python REST API ( https://github.com/Microsoft/azure-devops-python-api ) 中,僅給出了一個示例來解析項目列表:from vsts.vss_connection import VssConnectionfrom msrest.authentication import BasicAuthenticationimport pprint# Fill in with your personal access token and org URLpersonal_access_token = 'YOURPAT'organization_url = 'https://dev.azure.com/YOURORG'# Create a connection to the orgcredentials = BasicAuthentication('', personal_access_token)connection = VssConnection(base_url=organization_url, creds=credentials)# Get a client (the "core" client provides access to projects, teams, etc)core_client = connection.get_client('vsts.core.v4_0.core_client.CoreClient')這個字符串是'vsts.core.v4_0.core_client.CoreClient'從哪里來的?更重要的是,對應的“魔弦”是什么來操作:工作項測試運行和結果任務構建等等...
添加回答
舉報
0/150
提交
取消