How the connection and client model works
devThe library follows a hierarchical pattern to access Azure DevOps resources:
- Authentication: Use
msrest.authentication.BasicAuthenticationwith your Personal Access Token (PAT). - Connection: Create a
azure.devops.connection.Connectionobject using thebase_url(your organization URL) and the credentials. - Clients: Access specific functional areas by requesting a client from the connection (e.g.,
connection.clients.get_core_client()). Each client provides methods to interact with specific Azure DevOps entities like projects, builds, or work items.