teamdbapi 2.37.2__py3-none-any.whl → 3.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- teamdbapi/__init__.py +26 -0
- teamdbapi/api/__init__.py +6 -0
- teamdbapi/api/assembly_api.py +23 -23
- teamdbapi/api/component_api.py +1071 -0
- teamdbapi/api/criteria_api.py +126 -0
- teamdbapi/api/import_export_api.py +85 -0
- teamdbapi/api/issue_api.py +1537 -0
- teamdbapi/api/lap_report_api.py +5 -1
- teamdbapi/api/mounting_api.py +219 -0
- teamdbapi/api/part_api.py +785 -0
- teamdbapi/api/revision_api.py +109 -4
- teamdbapi/api/update_request_api.py +235 -0
- teamdbapi/api_client.py +4 -8
- teamdbapi/configuration.py +5 -12
- teamdbapi/models/__init__.py +20 -0
- teamdbapi/models/add_part_car_parameter_arg.py +396 -0
- teamdbapi/models/assembly.py +1 -0
- teamdbapi/models/bleed_adjustment.py +1 -0
- teamdbapi/models/calibration.py +1 -0
- teamdbapi/models/car.py +1 -0
- teamdbapi/models/car_parameters_context.py +1 -0
- teamdbapi/models/compare_options.py +1 -0
- teamdbapi/models/compare_result.py +1 -0
- teamdbapi/models/compare_result_detail.py +2 -0
- teamdbapi/models/component.py +1301 -0
- teamdbapi/models/copy_from_tags_args.py +2 -0
- teamdbapi/models/couple_guid_text.py +1 -0
- teamdbapi/models/criteria.py +430 -0
- teamdbapi/models/criteria_value.py +197 -0
- teamdbapi/models/event.py +1 -0
- teamdbapi/models/file_revision_info.py +199 -0
- teamdbapi/models/fixed_field.py +2 -1
- teamdbapi/models/group.py +1 -0
- teamdbapi/models/import_parameters_args.py +1 -0
- teamdbapi/models/import_parameters_results.py +2 -0
- teamdbapi/models/import_revisions_args.py +173 -0
- teamdbapi/models/import_revisions_info.py +197 -0
- teamdbapi/models/import_revisions_results.py +170 -0
- teamdbapi/models/issue.py +674 -0
- teamdbapi/models/issue_custom_field_value.py +319 -0
- teamdbapi/models/issue_priority.py +227 -0
- teamdbapi/models/issue_project.py +229 -0
- teamdbapi/models/issue_sector.py +199 -0
- teamdbapi/models/issue_status.py +284 -0
- teamdbapi/models/issue_type.py +199 -0
- teamdbapi/models/issue_workflow.py +199 -0
- teamdbapi/models/item_value.py +1 -0
- teamdbapi/models/item_value_key.py +1 -0
- teamdbapi/models/lap.py +1 -0
- teamdbapi/models/lap_report_options.py +1 -0
- teamdbapi/models/model_field.py +3 -1
- teamdbapi/models/model_field_authorization.py +1 -0
- teamdbapi/models/mounting.py +489 -0
- teamdbapi/models/notes_authorization.py +1 -0
- teamdbapi/models/notes_context.py +1 -0
- teamdbapi/models/parameter.py +2 -0
- teamdbapi/models/parameter_cross_table.py +1 -0
- teamdbapi/models/part.py +991 -0
- teamdbapi/models/part_car_parameters.py +561 -0
- teamdbapi/models/part_count.py +228 -0
- teamdbapi/models/problem_details.py +2 -6
- teamdbapi/models/revision.py +116 -3
- teamdbapi/models/revision_value.py +32 -3
- teamdbapi/models/run.py +1 -0
- teamdbapi/models/script.py +1 -0
- teamdbapi/models/session.py +1 -0
- teamdbapi/models/string_with_font_style.py +1 -0
- teamdbapi/models/target.py +64 -7
- teamdbapi/models/team_db_list.py +1 -0
- teamdbapi/models/team_db_list_item.py +1 -0
- teamdbapi/models/tire.py +2 -0
- teamdbapi/models/tire_set.py +2 -0
- teamdbapi/models/track.py +1 -0
- teamdbapi/models/track_layout.py +1 -0
- teamdbapi/models/user.py +1 -0
- teamdbapi/models/user_group.py +1 -0
- teamdbapi/models/value_field.py +1 -0
- teamdbapi/models/version.py +1 -0
- teamdbapi/rest.py +6 -1
- {teamdbapi-2.37.2.dist-info → teamdbapi-3.2.0.dist-info}/METADATA +3 -3
- teamdbapi-3.2.0.dist-info/RECORD +108 -0
- teamdbapi-2.37.2.dist-info/RECORD +0 -82
- {teamdbapi-2.37.2.dist-info → teamdbapi-3.2.0.dist-info}/LICENSE +0 -0
- {teamdbapi-2.37.2.dist-info → teamdbapi-3.2.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Trackside Software TeamDB API v2.0
|
|
5
|
+
|
|
6
|
+
This API enables you to access TeamDB data # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 2.0
|
|
9
|
+
Contact: support@trackside.fr
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
import pprint
|
|
14
|
+
import re # noqa: F401
|
|
15
|
+
|
|
16
|
+
import six
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class IssueType(object):
|
|
20
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
21
|
+
|
|
22
|
+
Do not edit the class manually.
|
|
23
|
+
"""
|
|
24
|
+
"""
|
|
25
|
+
Attributes:
|
|
26
|
+
swagger_types (dict): The key is attribute name
|
|
27
|
+
and the value is attribute type.
|
|
28
|
+
attribute_map (dict): The key is attribute name
|
|
29
|
+
and the value is json key in definition.
|
|
30
|
+
"""
|
|
31
|
+
swagger_types = {
|
|
32
|
+
'id': 'str',
|
|
33
|
+
'name': 'str',
|
|
34
|
+
'default': 'bool',
|
|
35
|
+
'obsolete': 'bool'
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
attribute_map = {
|
|
39
|
+
'id': 'Id',
|
|
40
|
+
'name': 'Name',
|
|
41
|
+
'default': 'Default',
|
|
42
|
+
'obsolete': 'Obsolete'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, id=None, name=None, default=None, obsolete=None): # noqa: E501
|
|
46
|
+
"""IssueType - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
self._id = None
|
|
48
|
+
self._name = None
|
|
49
|
+
self._default = None
|
|
50
|
+
self._obsolete = None
|
|
51
|
+
self.discriminator = None
|
|
52
|
+
self.id = id
|
|
53
|
+
self.name = name
|
|
54
|
+
if default is not None:
|
|
55
|
+
self.default = default
|
|
56
|
+
if obsolete is not None:
|
|
57
|
+
self.obsolete = obsolete
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def id(self):
|
|
61
|
+
"""Gets the id of this IssueType. # noqa: E501
|
|
62
|
+
|
|
63
|
+
The Id of the item. Set the Id to Guid.Empty (00000000-0000-0000-0000-000000000000) if you want to create a new issue list item # noqa: E501
|
|
64
|
+
|
|
65
|
+
:return: The id of this IssueType. # noqa: E501
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._id
|
|
69
|
+
|
|
70
|
+
@id.setter
|
|
71
|
+
def id(self, id):
|
|
72
|
+
"""Sets the id of this IssueType.
|
|
73
|
+
|
|
74
|
+
The Id of the item. Set the Id to Guid.Empty (00000000-0000-0000-0000-000000000000) if you want to create a new issue list item # noqa: E501
|
|
75
|
+
|
|
76
|
+
:param id: The id of this IssueType. # noqa: E501
|
|
77
|
+
:type: str
|
|
78
|
+
"""
|
|
79
|
+
if id is None:
|
|
80
|
+
raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
|
|
81
|
+
|
|
82
|
+
self._id = id
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def name(self):
|
|
86
|
+
"""Gets the name of this IssueType. # noqa: E501
|
|
87
|
+
|
|
88
|
+
The name of the item. # noqa: E501
|
|
89
|
+
|
|
90
|
+
:return: The name of this IssueType. # noqa: E501
|
|
91
|
+
:rtype: str
|
|
92
|
+
"""
|
|
93
|
+
return self._name
|
|
94
|
+
|
|
95
|
+
@name.setter
|
|
96
|
+
def name(self, name):
|
|
97
|
+
"""Sets the name of this IssueType.
|
|
98
|
+
|
|
99
|
+
The name of the item. # noqa: E501
|
|
100
|
+
|
|
101
|
+
:param name: The name of this IssueType. # noqa: E501
|
|
102
|
+
:type: str
|
|
103
|
+
"""
|
|
104
|
+
if name is None:
|
|
105
|
+
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
|
|
106
|
+
|
|
107
|
+
self._name = name
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
def default(self):
|
|
111
|
+
"""Gets the default of this IssueType. # noqa: E501
|
|
112
|
+
|
|
113
|
+
Define whether the item is the default one or not. # noqa: E501
|
|
114
|
+
|
|
115
|
+
:return: The default of this IssueType. # noqa: E501
|
|
116
|
+
:rtype: bool
|
|
117
|
+
"""
|
|
118
|
+
return self._default
|
|
119
|
+
|
|
120
|
+
@default.setter
|
|
121
|
+
def default(self, default):
|
|
122
|
+
"""Sets the default of this IssueType.
|
|
123
|
+
|
|
124
|
+
Define whether the item is the default one or not. # noqa: E501
|
|
125
|
+
|
|
126
|
+
:param default: The default of this IssueType. # noqa: E501
|
|
127
|
+
:type: bool
|
|
128
|
+
"""
|
|
129
|
+
|
|
130
|
+
self._default = default
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
def obsolete(self):
|
|
134
|
+
"""Gets the obsolete of this IssueType. # noqa: E501
|
|
135
|
+
|
|
136
|
+
Define whether the item is obsolete or not. # noqa: E501
|
|
137
|
+
|
|
138
|
+
:return: The obsolete of this IssueType. # noqa: E501
|
|
139
|
+
:rtype: bool
|
|
140
|
+
"""
|
|
141
|
+
return self._obsolete
|
|
142
|
+
|
|
143
|
+
@obsolete.setter
|
|
144
|
+
def obsolete(self, obsolete):
|
|
145
|
+
"""Sets the obsolete of this IssueType.
|
|
146
|
+
|
|
147
|
+
Define whether the item is obsolete or not. # noqa: E501
|
|
148
|
+
|
|
149
|
+
:param obsolete: The obsolete of this IssueType. # noqa: E501
|
|
150
|
+
:type: bool
|
|
151
|
+
"""
|
|
152
|
+
|
|
153
|
+
self._obsolete = obsolete
|
|
154
|
+
|
|
155
|
+
def to_dict(self):
|
|
156
|
+
"""Returns the model properties as a dict"""
|
|
157
|
+
result = {}
|
|
158
|
+
|
|
159
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
160
|
+
value = getattr(self, attr)
|
|
161
|
+
if isinstance(value, list):
|
|
162
|
+
result[attr] = list(map(
|
|
163
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
164
|
+
value
|
|
165
|
+
))
|
|
166
|
+
elif hasattr(value, "to_dict"):
|
|
167
|
+
result[attr] = value.to_dict()
|
|
168
|
+
elif isinstance(value, dict):
|
|
169
|
+
result[attr] = dict(map(
|
|
170
|
+
lambda item: (item[0], item[1].to_dict())
|
|
171
|
+
if hasattr(item[1], "to_dict") else item,
|
|
172
|
+
value.items()
|
|
173
|
+
))
|
|
174
|
+
else:
|
|
175
|
+
result[attr] = value
|
|
176
|
+
if issubclass(IssueType, dict):
|
|
177
|
+
for key, value in self.items():
|
|
178
|
+
result[key] = value
|
|
179
|
+
|
|
180
|
+
return result
|
|
181
|
+
|
|
182
|
+
def to_str(self):
|
|
183
|
+
"""Returns the string representation of the model"""
|
|
184
|
+
return pprint.pformat(self.to_dict())
|
|
185
|
+
|
|
186
|
+
def __repr__(self):
|
|
187
|
+
"""For `print` and `pprint`"""
|
|
188
|
+
return self.to_str()
|
|
189
|
+
|
|
190
|
+
def __eq__(self, other):
|
|
191
|
+
"""Returns true if both objects are equal"""
|
|
192
|
+
if not isinstance(other, IssueType):
|
|
193
|
+
return False
|
|
194
|
+
|
|
195
|
+
return self.__dict__ == other.__dict__
|
|
196
|
+
|
|
197
|
+
def __ne__(self, other):
|
|
198
|
+
"""Returns true if both objects are not equal"""
|
|
199
|
+
return not self == other
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Trackside Software TeamDB API v2.0
|
|
5
|
+
|
|
6
|
+
This API enables you to access TeamDB data # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 2.0
|
|
9
|
+
Contact: support@trackside.fr
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
import pprint
|
|
14
|
+
import re # noqa: F401
|
|
15
|
+
|
|
16
|
+
import six
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class IssueWorkflow(object):
|
|
20
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
21
|
+
|
|
22
|
+
Do not edit the class manually.
|
|
23
|
+
"""
|
|
24
|
+
"""
|
|
25
|
+
Attributes:
|
|
26
|
+
swagger_types (dict): The key is attribute name
|
|
27
|
+
and the value is attribute type.
|
|
28
|
+
attribute_map (dict): The key is attribute name
|
|
29
|
+
and the value is json key in definition.
|
|
30
|
+
"""
|
|
31
|
+
swagger_types = {
|
|
32
|
+
'id': 'str',
|
|
33
|
+
'name': 'str',
|
|
34
|
+
'description': 'str',
|
|
35
|
+
'default_report_id': 'str'
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
attribute_map = {
|
|
39
|
+
'id': 'Id',
|
|
40
|
+
'name': 'Name',
|
|
41
|
+
'description': 'Description',
|
|
42
|
+
'default_report_id': 'DefaultReportId'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, id=None, name=None, description=None, default_report_id=None): # noqa: E501
|
|
46
|
+
"""IssueWorkflow - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
self._id = None
|
|
48
|
+
self._name = None
|
|
49
|
+
self._description = None
|
|
50
|
+
self._default_report_id = None
|
|
51
|
+
self.discriminator = None
|
|
52
|
+
self.id = id
|
|
53
|
+
self.name = name
|
|
54
|
+
if description is not None:
|
|
55
|
+
self.description = description
|
|
56
|
+
if default_report_id is not None:
|
|
57
|
+
self.default_report_id = default_report_id
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def id(self):
|
|
61
|
+
"""Gets the id of this IssueWorkflow. # noqa: E501
|
|
62
|
+
|
|
63
|
+
Unique identifier of the workflow Set the Id to Guid.Empty (00000000-0000-0000-0000-000000000000) if you want to create a new workflow # noqa: E501
|
|
64
|
+
|
|
65
|
+
:return: The id of this IssueWorkflow. # noqa: E501
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._id
|
|
69
|
+
|
|
70
|
+
@id.setter
|
|
71
|
+
def id(self, id):
|
|
72
|
+
"""Sets the id of this IssueWorkflow.
|
|
73
|
+
|
|
74
|
+
Unique identifier of the workflow Set the Id to Guid.Empty (00000000-0000-0000-0000-000000000000) if you want to create a new workflow # noqa: E501
|
|
75
|
+
|
|
76
|
+
:param id: The id of this IssueWorkflow. # noqa: E501
|
|
77
|
+
:type: str
|
|
78
|
+
"""
|
|
79
|
+
if id is None:
|
|
80
|
+
raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
|
|
81
|
+
|
|
82
|
+
self._id = id
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def name(self):
|
|
86
|
+
"""Gets the name of this IssueWorkflow. # noqa: E501
|
|
87
|
+
|
|
88
|
+
Name of the workflow # noqa: E501
|
|
89
|
+
|
|
90
|
+
:return: The name of this IssueWorkflow. # noqa: E501
|
|
91
|
+
:rtype: str
|
|
92
|
+
"""
|
|
93
|
+
return self._name
|
|
94
|
+
|
|
95
|
+
@name.setter
|
|
96
|
+
def name(self, name):
|
|
97
|
+
"""Sets the name of this IssueWorkflow.
|
|
98
|
+
|
|
99
|
+
Name of the workflow # noqa: E501
|
|
100
|
+
|
|
101
|
+
:param name: The name of this IssueWorkflow. # noqa: E501
|
|
102
|
+
:type: str
|
|
103
|
+
"""
|
|
104
|
+
if name is None:
|
|
105
|
+
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
|
|
106
|
+
|
|
107
|
+
self._name = name
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
def description(self):
|
|
111
|
+
"""Gets the description of this IssueWorkflow. # noqa: E501
|
|
112
|
+
|
|
113
|
+
Description of the workflow # noqa: E501
|
|
114
|
+
|
|
115
|
+
:return: The description of this IssueWorkflow. # noqa: E501
|
|
116
|
+
:rtype: str
|
|
117
|
+
"""
|
|
118
|
+
return self._description
|
|
119
|
+
|
|
120
|
+
@description.setter
|
|
121
|
+
def description(self, description):
|
|
122
|
+
"""Sets the description of this IssueWorkflow.
|
|
123
|
+
|
|
124
|
+
Description of the workflow # noqa: E501
|
|
125
|
+
|
|
126
|
+
:param description: The description of this IssueWorkflow. # noqa: E501
|
|
127
|
+
:type: str
|
|
128
|
+
"""
|
|
129
|
+
|
|
130
|
+
self._description = description
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
def default_report_id(self):
|
|
134
|
+
"""Gets the default_report_id of this IssueWorkflow. # noqa: E501
|
|
135
|
+
|
|
136
|
+
Unique identifier of the report associated to the workflow # noqa: E501
|
|
137
|
+
|
|
138
|
+
:return: The default_report_id of this IssueWorkflow. # noqa: E501
|
|
139
|
+
:rtype: str
|
|
140
|
+
"""
|
|
141
|
+
return self._default_report_id
|
|
142
|
+
|
|
143
|
+
@default_report_id.setter
|
|
144
|
+
def default_report_id(self, default_report_id):
|
|
145
|
+
"""Sets the default_report_id of this IssueWorkflow.
|
|
146
|
+
|
|
147
|
+
Unique identifier of the report associated to the workflow # noqa: E501
|
|
148
|
+
|
|
149
|
+
:param default_report_id: The default_report_id of this IssueWorkflow. # noqa: E501
|
|
150
|
+
:type: str
|
|
151
|
+
"""
|
|
152
|
+
|
|
153
|
+
self._default_report_id = default_report_id
|
|
154
|
+
|
|
155
|
+
def to_dict(self):
|
|
156
|
+
"""Returns the model properties as a dict"""
|
|
157
|
+
result = {}
|
|
158
|
+
|
|
159
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
160
|
+
value = getattr(self, attr)
|
|
161
|
+
if isinstance(value, list):
|
|
162
|
+
result[attr] = list(map(
|
|
163
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
164
|
+
value
|
|
165
|
+
))
|
|
166
|
+
elif hasattr(value, "to_dict"):
|
|
167
|
+
result[attr] = value.to_dict()
|
|
168
|
+
elif isinstance(value, dict):
|
|
169
|
+
result[attr] = dict(map(
|
|
170
|
+
lambda item: (item[0], item[1].to_dict())
|
|
171
|
+
if hasattr(item[1], "to_dict") else item,
|
|
172
|
+
value.items()
|
|
173
|
+
))
|
|
174
|
+
else:
|
|
175
|
+
result[attr] = value
|
|
176
|
+
if issubclass(IssueWorkflow, dict):
|
|
177
|
+
for key, value in self.items():
|
|
178
|
+
result[key] = value
|
|
179
|
+
|
|
180
|
+
return result
|
|
181
|
+
|
|
182
|
+
def to_str(self):
|
|
183
|
+
"""Returns the string representation of the model"""
|
|
184
|
+
return pprint.pformat(self.to_dict())
|
|
185
|
+
|
|
186
|
+
def __repr__(self):
|
|
187
|
+
"""For `print` and `pprint`"""
|
|
188
|
+
return self.to_str()
|
|
189
|
+
|
|
190
|
+
def __eq__(self, other):
|
|
191
|
+
"""Returns true if both objects are equal"""
|
|
192
|
+
if not isinstance(other, IssueWorkflow):
|
|
193
|
+
return False
|
|
194
|
+
|
|
195
|
+
return self.__dict__ == other.__dict__
|
|
196
|
+
|
|
197
|
+
def __ne__(self, other):
|
|
198
|
+
"""Returns true if both objects are not equal"""
|
|
199
|
+
return not self == other
|
teamdbapi/models/item_value.py
CHANGED
teamdbapi/models/lap.py
CHANGED
teamdbapi/models/model_field.py
CHANGED
|
@@ -14,6 +14,8 @@ import pprint
|
|
|
14
14
|
import re # noqa: F401
|
|
15
15
|
|
|
16
16
|
import six
|
|
17
|
+
from teamdbapi.models.couple_guid_text import CoupleGuidText # noqa: F401,E501
|
|
18
|
+
|
|
17
19
|
|
|
18
20
|
class ModelField(object):
|
|
19
21
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -279,7 +281,7 @@ class ModelField(object):
|
|
|
279
281
|
"""
|
|
280
282
|
if type_of_value is None:
|
|
281
283
|
raise ValueError("Invalid value for `type_of_value`, must not be `None`") # noqa: E501
|
|
282
|
-
allowed_values = ["Double", "String", "Bool", "TimeSpan", "DateTime", "TeamDBList", "Int", "Rtf", "StringMultiline", "TeamDBGrid", "Image", "File", "RevisionSelector", "RevisionEditor", "HyperlinkTextBox", "HyperlinkIntTextBox", "LifingRunMountingDiff", "Files", "Text"] # noqa: E501
|
|
284
|
+
allowed_values = ["Double", "String", "Bool", "TimeSpan", "DateTime", "TeamDBList", "Int", "Rtf", "StringMultiline", "TeamDBGrid", "Image", "File", "RevisionSelector", "RevisionEditor", "HyperlinkTextBox", "HyperlinkIntTextBox", "LifingRunMountingDiff", "Files", "Text", "Spreadsheet"] # noqa: E501
|
|
283
285
|
if type_of_value not in allowed_values:
|
|
284
286
|
raise ValueError(
|
|
285
287
|
"Invalid value for `type_of_value` ({0}), must be one of {1}" # noqa: E501
|