Skip to content

Commit ed4f2ec

Browse files
authored
Merge pull request #169 from Microsoft/dev
0.1.25 - Fix for enum references within collections causing deserialization issues
2 parents cdd6d6f + 8ee75b3 commit ed4f2ec

File tree

13 files changed

+18
-18
lines changed

13 files changed

+18
-18
lines changed

vsts/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from setuptools import setup, find_packages
77

88
NAME = "vsts"
9-
VERSION = "0.1.24"
9+
VERSION = "0.1.25"
1010

1111
# To install the library, run the following
1212
#

vsts/vsts/build/v4_1/models/repository_webhook.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# --------------------------------------------------------------------------------------------
1+
# --------------------------------------------------------------------------------------------
22
# Copyright (c) Microsoft Corporation. All rights reserved.
33
# Licensed under the MIT License. See License.txt in the project root for license information.
44
# --------------------------------------------------------------------------------------------
@@ -22,7 +22,7 @@ class RepositoryWebhook(Model):
2222

2323
_attribute_map = {
2424
'name': {'key': 'name', 'type': 'str'},
25-
'types': {'key': 'types', 'type': '[DefinitionTriggerType]'},
25+
'types': {'key': 'types', 'type': '[object]'},
2626
'url': {'key': 'url', 'type': 'str'}
2727
}
2828

vsts/vsts/build/v4_1/models/supported_trigger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# --------------------------------------------------------------------------------------------
1+
# --------------------------------------------------------------------------------------------
22
# Copyright (c) Microsoft Corporation. All rights reserved.
33
# Licensed under the MIT License. See License.txt in the project root for license information.
44
# --------------------------------------------------------------------------------------------
@@ -25,7 +25,7 @@ class SupportedTrigger(Model):
2525
_attribute_map = {
2626
'default_polling_interval': {'key': 'defaultPollingInterval', 'type': 'int'},
2727
'notification_type': {'key': 'notificationType', 'type': 'str'},
28-
'supported_capabilities': {'key': 'supportedCapabilities', 'type': '{SupportLevel}'},
28+
'supported_capabilities': {'key': 'supportedCapabilities', 'type': '{object}'},
2929
'type': {'key': 'type', 'type': 'object'}
3030
}
3131

vsts/vsts/cloud_load_test/v4_1/models/web_api_load_test_machine_input.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# --------------------------------------------------------------------------------------------
1+
# --------------------------------------------------------------------------------------------
22
# Copyright (c) Microsoft Corporation. All rights reserved.
33
# Licensed under the MIT License. See License.txt in the project root for license information.
44
# --------------------------------------------------------------------------------------------
@@ -26,7 +26,7 @@ class WebApiLoadTestMachineInput(Model):
2626
'machine_group_id': {'key': 'machineGroupId', 'type': 'str'},
2727
'machine_type': {'key': 'machineType', 'type': 'object'},
2828
'setup_configuration': {'key': 'setupConfiguration', 'type': 'WebApiSetupParamaters'},
29-
'supported_run_types': {'key': 'supportedRunTypes', 'type': '[TestRunType]'}
29+
'supported_run_types': {'key': 'supportedRunTypes', 'type': '[object]'}
3030
}
3131

3232
def __init__(self, machine_group_id=None, machine_type=None, setup_configuration=None, supported_run_types=None):

vsts/vsts/dashboard/v4_0/models/widget_metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class WidgetMetadata(Model):
7575
'loading_image_url': {'key': 'loadingImageUrl', 'type': 'str'},
7676
'name': {'key': 'name', 'type': 'str'},
7777
'publisher_name': {'key': 'publisherName', 'type': 'str'},
78-
'supported_scopes': {'key': 'supportedScopes', 'type': '[WidgetScope]'},
78+
'supported_scopes': {'key': 'supportedScopes', 'type': '[object]'},
7979
'targets': {'key': 'targets', 'type': '[str]'},
8080
'type_id': {'key': 'typeId', 'type': 'str'}
8181
}

vsts/vsts/dashboard/v4_1/models/widget_metadata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# --------------------------------------------------------------------------------------------
1+
# --------------------------------------------------------------------------------------------
22
# Copyright (c) Microsoft Corporation. All rights reserved.
33
# Licensed under the MIT License. See License.txt in the project root for license information.
44
# --------------------------------------------------------------------------------------------
@@ -75,7 +75,7 @@ class WidgetMetadata(Model):
7575
'loading_image_url': {'key': 'loadingImageUrl', 'type': 'str'},
7676
'name': {'key': 'name', 'type': 'str'},
7777
'publisher_name': {'key': 'publisherName', 'type': 'str'},
78-
'supported_scopes': {'key': 'supportedScopes', 'type': '[WidgetScope]'},
78+
'supported_scopes': {'key': 'supportedScopes', 'type': '[object]'},
7979
'targets': {'key': 'targets', 'type': '[str]'},
8080
'type_id': {'key': 'typeId', 'type': 'str'}
8181
}

vsts/vsts/release/v4_0/models/mail_message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class MailMessage(Model):
4141
'message_id': {'key': 'messageId', 'type': 'str'},
4242
'reply_by': {'key': 'replyBy', 'type': 'iso-8601'},
4343
'reply_to': {'key': 'replyTo', 'type': 'EmailRecipients'},
44-
'sections': {'key': 'sections', 'type': '[MailSectionType]'},
44+
'sections': {'key': 'sections', 'type': '[object]'},
4545
'sender_type': {'key': 'senderType', 'type': 'object'},
4646
'subject': {'key': 'subject', 'type': 'str'},
4747
'to': {'key': 'to', 'type': 'EmailRecipients'}

vsts/vsts/release/v4_1/models/mail_message.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# --------------------------------------------------------------------------------------------
1+
# --------------------------------------------------------------------------------------------
22
# Copyright (c) Microsoft Corporation. All rights reserved.
33
# Licensed under the MIT License. See License.txt in the project root for license information.
44
# --------------------------------------------------------------------------------------------
@@ -41,7 +41,7 @@ class MailMessage(Model):
4141
'message_id': {'key': 'messageId', 'type': 'str'},
4242
'reply_by': {'key': 'replyBy', 'type': 'iso-8601'},
4343
'reply_to': {'key': 'replyTo', 'type': 'EmailRecipients'},
44-
'sections': {'key': 'sections', 'type': '[MailSectionType]'},
44+
'sections': {'key': 'sections', 'type': '[object]'},
4545
'sender_type': {'key': 'senderType', 'type': 'object'},
4646
'subject': {'key': 'subject', 'type': 'str'},
4747
'to': {'key': 'to', 'type': 'EmailRecipients'}

vsts/vsts/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Licensed under the MIT License. See License.txt in the project root for license information.
44
# --------------------------------------------------------------------------------------------
55

6-
VERSION = "0.1.24"
6+
VERSION = "0.1.25"

vsts/vsts/work/v4_0/models/team_setting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class TeamSetting(TeamSettingsDataContractBase):
3838
'bugs_behavior': {'key': 'bugsBehavior', 'type': 'object'},
3939
'default_iteration': {'key': 'defaultIteration', 'type': 'TeamSettingsIteration'},
4040
'default_iteration_macro': {'key': 'defaultIterationMacro', 'type': 'str'},
41-
'working_days': {'key': 'workingDays', 'type': '[str]'}
41+
'working_days': {'key': 'workingDays', 'type': '[object]'}
4242
}
4343

4444
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):

vsts/vsts/work/v4_0/models/team_settings_patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class TeamSettingsPatch(Model):
3232
'bugs_behavior': {'key': 'bugsBehavior', 'type': 'object'},
3333
'default_iteration': {'key': 'defaultIteration', 'type': 'str'},
3434
'default_iteration_macro': {'key': 'defaultIterationMacro', 'type': 'str'},
35-
'working_days': {'key': 'workingDays', 'type': '[str]'}
35+
'working_days': {'key': 'workingDays', 'type': '[object]'}
3636
}
3737

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

vsts/vsts/work/v4_1/models/team_setting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class TeamSetting(TeamSettingsDataContractBase):
3838
'bugs_behavior': {'key': 'bugsBehavior', 'type': 'object'},
3939
'default_iteration': {'key': 'defaultIteration', 'type': 'TeamSettingsIteration'},
4040
'default_iteration_macro': {'key': 'defaultIterationMacro', 'type': 'str'},
41-
'working_days': {'key': 'workingDays', 'type': '[str]'}
41+
'working_days': {'key': 'workingDays', 'type': '[object]'}
4242
}
4343

4444
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):

vsts/vsts/work/v4_1/models/team_settings_patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class TeamSettingsPatch(Model):
3232
'bugs_behavior': {'key': 'bugsBehavior', 'type': 'object'},
3333
'default_iteration': {'key': 'defaultIteration', 'type': 'str'},
3434
'default_iteration_macro': {'key': 'defaultIterationMacro', 'type': 'str'},
35-
'working_days': {'key': 'workingDays', 'type': '[str]'}
35+
'working_days': {'key': 'workingDays', 'type': '[object]'}
3636
}
3737

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

0 commit comments

Comments
 (0)