Merge pull request #169 from Microsoft/dev
0.1.25 - Fix for enum references within collections causing deserialization issues
This commit is contained in:
Коммит
ed4f2ec845
|
@ -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
|
||||
#
|
||||
|
|
|
@ -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.
|
||||
# --------------------------------------------------------------------------------------------
|
||||
|
@ -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'}
|
||||
}
|
||||
|
||||
|
|
|
@ -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.
|
||||
# --------------------------------------------------------------------------------------------
|
||||
|
@ -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'}
|
||||
}
|
||||
|
||||
|
|
|
@ -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.
|
||||
# --------------------------------------------------------------------------------------------
|
||||
|
@ -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):
|
||||
|
|
|
@ -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'}
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
# --------------------------------------------------------------------------------------------
|
||||
|
@ -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'}
|
||||
}
|
||||
|
|
|
@ -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'}
|
||||
|
|
|
@ -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.
|
||||
# --------------------------------------------------------------------------------------------
|
||||
|
@ -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'}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
Загрузка…
Ссылка в новой задаче