Vsts

Latest version: v0.1.25

Safety actively analyzes 681790 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

4.1

Fixed serialization issue with release triggers. 91

0.1.25

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

0.1.24

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)

0.1.23

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

0.1.22

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

0.1.21-release
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

0.1.20

Bump msrest dependency to 0.6.x

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.