azure-devops-python-api

Azure DevOps Python API

MIT License

Downloads
4.8M
Stars
580
Committers
16

Bot releases are hidden (Show)

azure-devops-python-api - azure-devops 5.0.0b5

Published by tedchamb over 5 years ago

Regenerate 5.1 clients from M150.

azure-devops-python-api - azure-devops 5.0.0b4

Published by tedchamb over 5 years ago

Regenerate clients to match M149
Fix issue #194 - which was causing a deprecation warnings when setting creds on ServiceClient.

azure-devops-python-api - azure-devops 5.0.0b3

Published by tedchamb over 5 years ago

Update to M149

azure-devops-python-api - azure-devops 5.0.0b2

Published by tedchamb over 5 years ago

Fix directory and filename casing in NuGet client.

azure-devops-python-api - azure-devops 5.0.0b1

Published by tedchamb over 5 years ago

azure-devops-python-api - VSTS 0.1.25

Published by tedchamb almost 6 years ago

Fix for enum references within collections causing deserialization issues. See #167

azure-devops-python-api - VSTS 0.1.24

Published by tedchamb almost 6 years ago

Fixes client upload methods.

Example method to upload a file and link it as a work item attachment:

def upload_work_item_attachment(wit_client, work_item_id, file_name, callback=None):
    # upload file / create attachment
    with open(file_name, 'r+b') as file:
        # use mmap, so we don't load entire file in memory at the same time, and so we can start
        # streaming before we are done reading the file.
        mm = mmap.mmap(file.fileno(), 0)
        attachment = wit_client.create_attachment(mm, file_name=file_name, callback=callback)

    # Link Work Item to attachment
    patch_document = [
        JsonPatchOperation(
            op="add",
            path="/relations/-",
            value={
                "rel": "AttachedFile",
                "url": attachment.url
            }
        )
    ]
    wit_client.update_work_item(patch_document, work_item_id)
azure-devops-python-api - VSTS 0.1.23

Published by tedchamb almost 6 years ago

set creds on config (to support msrest 0.6.3)
fix download operations

azure-devops-python-api - VSTS 0.1.22

Published by tedchamb almost 6 years ago

Fixed DayOfWeek deserialization issue, by treating it as a string. See #154

azure-devops-python-api - VSTS 0.1.21

Published by tedchamb almost 6 years ago

Adds several new methods that were missing from previous releases:

  • dashboard_client

    • get_widgets
    • replace_widgets
    • update_widgets
  • graph_client

    • list_groups
    • list_users
  • wiki_client

    • delete_page
    • get_page
azure-devops-python-api - VSTS 0.1.20

Published by tedchamb almost 6 years ago

Bump msrest dependency to 0.6.x

azure-devops-python-api - VSTS 0.1.19

Published by tedchamb almost 6 years ago

  1. Fix query parameters for Git get_commits method.
  2. Add resource area id to Graph client, so it can look up the correct url for the service.
azure-devops-python-api - VSTS 0.1.18

Published by tedchamb about 6 years ago

Change msrest dependency to versions >= 0.5.0 and < 0.6.0 due to breaking change in msrest 0.6.0

azure-devops-python-api - VSTS 0.1.17

Published by tedchamb about 6 years ago

Fixes issue where clients referenced invalid properties on team_context. See #117.

azure-devops-python-api - VSTS 0.1.16

Published by tedchamb about 6 years ago

Fixes an issue causing cache files not to expire.

azure-devops-python-api - VSTS 0.1.15

Published by tedchamb about 6 years ago

Minor logging fixes.

azure-devops-python-api - VSTS 0.1.14

Published by tedchamb about 6 years ago

Fixed issue causing the Settings client to not be included in module.

azure-devops-python-api - VSTS 0.1.13

Published by tedchamb about 6 years ago

Adds the Settings client.
Fixes an issue with the Feed Token client.

azure-devops-python-api - VSTS 0.1.12

Published by tedchamb over 6 years ago

Add Resource Area Identifiers for several clients.

azure-devops-python-api - VSTS 0.1.11

Published by tedchamb over 6 years ago

Adds Member Entitlement Management area to manage users
Removed User area, as it is only useful for internal s2s calls.