Skip to content

Commit

Permalink
Merge pull request #169 from Microsoft/dev
Browse files Browse the repository at this point in the history
0.1.25 - Fix for enum references within collections causing deserialization issues
  • Loading branch information
tedchamb authored Jan 15, 2019
2 parents cdd6d6f + 8ee75b3 commit ed4f2ec
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion vsts/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from setuptools import setup, find_packages

NAME = "vsts"
VERSION = "0.1.24"
VERSION = "0.1.25"

# To install the library, run the following
#
Expand Down
4 changes: 2 additions & 2 deletions vsts/vsts/build/v4_1/models/repository_webhook.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# --------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
Expand All @@ -22,7 +22,7 @@ class RepositoryWebhook(Model):

_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'types': {'key': 'types', 'type': '[DefinitionTriggerType]'},
'types': {'key': 'types', 'type': '[object]'},
'url': {'key': 'url', 'type': 'str'}
}

Expand Down
4 changes: 2 additions & 2 deletions vsts/vsts/build/v4_1/models/supported_trigger.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# --------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
Expand All @@ -25,7 +25,7 @@ class SupportedTrigger(Model):
_attribute_map = {
'default_polling_interval': {'key': 'defaultPollingInterval', 'type': 'int'},
'notification_type': {'key': 'notificationType', 'type': 'str'},
'supported_capabilities': {'key': 'supportedCapabilities', 'type': '{SupportLevel}'},
'supported_capabilities': {'key': 'supportedCapabilities', 'type': '{object}'},
'type': {'key': 'type', 'type': 'object'}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# --------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -26,7 +26,7 @@ class WebApiLoadTestMachineInput(Model):
'machine_group_id': {'key': 'machineGroupId', 'type': 'str'},
'machine_type': {'key': 'machineType', 'type': 'object'},
'setup_configuration': {'key': 'setupConfiguration', 'type': 'WebApiSetupParamaters'},
'supported_run_types': {'key': 'supportedRunTypes', 'type': '[TestRunType]'}
'supported_run_types': {'key': 'supportedRunTypes', 'type': '[object]'}
}

def __init__(self, machine_group_id=None, machine_type=None, setup_configuration=None, supported_run_types=None):
Expand Down
2 changes: 1 addition & 1 deletion vsts/vsts/dashboard/v4_0/models/widget_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class WidgetMetadata(Model):
'loading_image_url': {'key': 'loadingImageUrl', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'publisher_name': {'key': 'publisherName', 'type': 'str'},
'supported_scopes': {'key': 'supportedScopes', 'type': '[WidgetScope]'},
'supported_scopes': {'key': 'supportedScopes', 'type': '[object]'},
'targets': {'key': 'targets', 'type': '[str]'},
'type_id': {'key': 'typeId', 'type': 'str'}
}
Expand Down
4 changes: 2 additions & 2 deletions vsts/vsts/dashboard/v4_1/models/widget_metadata.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# --------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -75,7 +75,7 @@ class WidgetMetadata(Model):
'loading_image_url': {'key': 'loadingImageUrl', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'publisher_name': {'key': 'publisherName', 'type': 'str'},
'supported_scopes': {'key': 'supportedScopes', 'type': '[WidgetScope]'},
'supported_scopes': {'key': 'supportedScopes', 'type': '[object]'},
'targets': {'key': 'targets', 'type': '[str]'},
'type_id': {'key': 'typeId', 'type': 'str'}
}
Expand Down
2 changes: 1 addition & 1 deletion vsts/vsts/release/v4_0/models/mail_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class MailMessage(Model):
'message_id': {'key': 'messageId', 'type': 'str'},
'reply_by': {'key': 'replyBy', 'type': 'iso-8601'},
'reply_to': {'key': 'replyTo', 'type': 'EmailRecipients'},
'sections': {'key': 'sections', 'type': '[MailSectionType]'},
'sections': {'key': 'sections', 'type': '[object]'},
'sender_type': {'key': 'senderType', 'type': 'object'},
'subject': {'key': 'subject', 'type': 'str'},
'to': {'key': 'to', 'type': 'EmailRecipients'}
Expand Down
4 changes: 2 additions & 2 deletions vsts/vsts/release/v4_1/models/mail_message.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# --------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -41,7 +41,7 @@ class MailMessage(Model):
'message_id': {'key': 'messageId', 'type': 'str'},
'reply_by': {'key': 'replyBy', 'type': 'iso-8601'},
'reply_to': {'key': 'replyTo', 'type': 'EmailRecipients'},
'sections': {'key': 'sections', 'type': '[MailSectionType]'},
'sections': {'key': 'sections', 'type': '[object]'},
'sender_type': {'key': 'senderType', 'type': 'object'},
'subject': {'key': 'subject', 'type': 'str'},
'to': {'key': 'to', 'type': 'EmailRecipients'}
Expand Down
2 changes: 1 addition & 1 deletion vsts/vsts/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

VERSION = "0.1.24"
VERSION = "0.1.25"
2 changes: 1 addition & 1 deletion vsts/vsts/work/v4_0/models/team_setting.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class TeamSetting(TeamSettingsDataContractBase):
'bugs_behavior': {'key': 'bugsBehavior', 'type': 'object'},
'default_iteration': {'key': 'defaultIteration', 'type': 'TeamSettingsIteration'},
'default_iteration_macro': {'key': 'defaultIterationMacro', 'type': 'str'},
'working_days': {'key': 'workingDays', 'type': '[str]'}
'working_days': {'key': 'workingDays', 'type': '[object]'}
}

def __init__(self, _links=None, url=None, backlog_iteration=None, backlog_visibilities=None, bugs_behavior=None, default_iteration=None, default_iteration_macro=None, working_days=None):
Expand Down
2 changes: 1 addition & 1 deletion vsts/vsts/work/v4_0/models/team_settings_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class TeamSettingsPatch(Model):
'bugs_behavior': {'key': 'bugsBehavior', 'type': 'object'},
'default_iteration': {'key': 'defaultIteration', 'type': 'str'},
'default_iteration_macro': {'key': 'defaultIterationMacro', 'type': 'str'},
'working_days': {'key': 'workingDays', 'type': '[str]'}
'working_days': {'key': 'workingDays', 'type': '[object]'}
}

def __init__(self, backlog_iteration=None, backlog_visibilities=None, bugs_behavior=None, default_iteration=None, default_iteration_macro=None, working_days=None):
Expand Down
2 changes: 1 addition & 1 deletion vsts/vsts/work/v4_1/models/team_setting.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class TeamSetting(TeamSettingsDataContractBase):
'bugs_behavior': {'key': 'bugsBehavior', 'type': 'object'},
'default_iteration': {'key': 'defaultIteration', 'type': 'TeamSettingsIteration'},
'default_iteration_macro': {'key': 'defaultIterationMacro', 'type': 'str'},
'working_days': {'key': 'workingDays', 'type': '[str]'}
'working_days': {'key': 'workingDays', 'type': '[object]'}
}

def __init__(self, _links=None, url=None, backlog_iteration=None, backlog_visibilities=None, bugs_behavior=None, default_iteration=None, default_iteration_macro=None, working_days=None):
Expand Down
2 changes: 1 addition & 1 deletion vsts/vsts/work/v4_1/models/team_settings_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class TeamSettingsPatch(Model):
'bugs_behavior': {'key': 'bugsBehavior', 'type': 'object'},
'default_iteration': {'key': 'defaultIteration', 'type': 'str'},
'default_iteration_macro': {'key': 'defaultIterationMacro', 'type': 'str'},
'working_days': {'key': 'workingDays', 'type': '[str]'}
'working_days': {'key': 'workingDays', 'type': '[object]'}
}

def __init__(self, backlog_iteration=None, backlog_visibilities=None, bugs_behavior=None, default_iteration=None, default_iteration_macro=None, working_days=None):
Expand Down

0 comments on commit ed4f2ec

Please sign in to comment.