flywheel-sdk 18.4.1rc0__py2.py3-none-any.whl → 18.5.0__py2.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.
Files changed (35) hide show
  1. flywheel/__init__.py +0 -1
  2. flywheel/api/acquisitions_api.py +4 -4
  3. flywheel/api/audit_trail_api.py +2 -2
  4. flywheel/api/collections_api.py +4 -4
  5. flywheel/api/gears_api.py +2 -2
  6. flywheel/api/groups_api.py +8 -8
  7. flywheel/api/projects_api.py +18 -18
  8. flywheel/api/roles_api.py +2 -2
  9. flywheel/api/sessions_api.py +4 -4
  10. flywheel/api/subjects_api.py +6 -6
  11. flywheel/api_client.py +1 -1
  12. flywheel/configuration.py +2 -2
  13. flywheel/flywheel.py +26 -26
  14. flywheel/models/__init__.py +1 -2
  15. flywheel/models/analysis_node.py +0 -1
  16. flywheel/models/analysis_output.py +3 -4
  17. flywheel/models/central_out.py +85 -4
  18. flywheel/models/change.py +3 -3
  19. flywheel/models/change_log_document.py +3 -3
  20. flywheel/models/config_out.py +1 -28
  21. flywheel/models/features.py +1 -28
  22. flywheel/models/field_change_log_document.py +3 -3
  23. flywheel/models/ingress_site_settings.py +3 -3
  24. flywheel/models/project_settings_input.py +3 -3
  25. flywheel/models/search_parent_analysis.py +0 -1
  26. flywheel/models/session_input.py +3 -3
  27. flywheel/models/session_modify.py +3 -3
  28. flywheel/models/structured_query_value_suggestion.py +58 -4
  29. flywheel/models/validation_error.py +3 -3
  30. {flywheel_sdk-18.4.1rc0.dist-info → flywheel_sdk-18.5.0.dist-info}/METADATA +6 -6
  31. {flywheel_sdk-18.4.1rc0.dist-info → flywheel_sdk-18.5.0.dist-info}/RECORD +34 -35
  32. {flywheel_sdk-18.4.1rc0.dist-info → flywheel_sdk-18.5.0.dist-info}/WHEEL +1 -1
  33. flywheel/models/open_tracing.py +0 -244
  34. {flywheel_sdk-18.4.1rc0.dist-info → flywheel_sdk-18.5.0.dist-info}/LICENSE.txt +0 -0
  35. {flywheel_sdk-18.4.1rc0.dist-info → flywheel_sdk-18.5.0.dist-info}/top_level.txt +0 -0
@@ -1,244 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Flywheel
5
-
6
- No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
-
8
- OpenAPI spec version: 0.0.1
9
-
10
- Generated by: https://github.com/swagger-api/swagger-codegen.git
11
- """
12
-
13
-
14
- ## NOTE: This file is auto generated by the swagger code generator program.
15
- ## Do not edit the file manually.
16
-
17
- import pprint
18
- import re # noqa: F401
19
- import six
20
-
21
- class OpenTracing(object):
22
-
23
- swagger_types = {
24
- 'agent_host': 'str',
25
- 'agent_port': 'int',
26
- 'sampler_type': 'str',
27
- 'sampler_param': 'float'
28
- }
29
-
30
- attribute_map = {
31
- 'agent_host': 'agent_host',
32
- 'agent_port': 'agent_port',
33
- 'sampler_type': 'sampler_type',
34
- 'sampler_param': 'sampler_param'
35
- }
36
-
37
- rattribute_map = {
38
- 'agent_host': 'agent_host',
39
- 'agent_port': 'agent_port',
40
- 'sampler_type': 'sampler_type',
41
- 'sampler_param': 'sampler_param'
42
- }
43
-
44
- def __init__(self, agent_host='jaeger-agent', agent_port=6831, sampler_type='const', sampler_param=1.0): # noqa: E501
45
- """OpenTracing - a model defined in Swagger"""
46
- super(OpenTracing, self).__init__()
47
-
48
- self._agent_host = None
49
- self._agent_port = None
50
- self._sampler_type = None
51
- self._sampler_param = None
52
- self.discriminator = None
53
- self.alt_discriminator = None
54
-
55
- if agent_host is not None:
56
- self.agent_host = agent_host
57
- if agent_port is not None:
58
- self.agent_port = agent_port
59
- if sampler_type is not None:
60
- self.sampler_type = sampler_type
61
- if sampler_param is not None:
62
- self.sampler_param = sampler_param
63
-
64
- @property
65
- def agent_host(self):
66
- """Gets the agent_host of this OpenTracing.
67
-
68
-
69
- :return: The agent_host of this OpenTracing.
70
- :rtype: str
71
- """
72
- return self._agent_host
73
-
74
- @agent_host.setter
75
- def agent_host(self, agent_host):
76
- """Sets the agent_host of this OpenTracing.
77
-
78
-
79
- :param agent_host: The agent_host of this OpenTracing. # noqa: E501
80
- :type: str
81
- """
82
-
83
- self._agent_host = agent_host
84
-
85
- @property
86
- def agent_port(self):
87
- """Gets the agent_port of this OpenTracing.
88
-
89
-
90
- :return: The agent_port of this OpenTracing.
91
- :rtype: int
92
- """
93
- return self._agent_port
94
-
95
- @agent_port.setter
96
- def agent_port(self, agent_port):
97
- """Sets the agent_port of this OpenTracing.
98
-
99
-
100
- :param agent_port: The agent_port of this OpenTracing. # noqa: E501
101
- :type: int
102
- """
103
-
104
- self._agent_port = agent_port
105
-
106
- @property
107
- def sampler_type(self):
108
- """Gets the sampler_type of this OpenTracing.
109
-
110
-
111
- :return: The sampler_type of this OpenTracing.
112
- :rtype: str
113
- """
114
- return self._sampler_type
115
-
116
- @sampler_type.setter
117
- def sampler_type(self, sampler_type):
118
- """Sets the sampler_type of this OpenTracing.
119
-
120
-
121
- :param sampler_type: The sampler_type of this OpenTracing. # noqa: E501
122
- :type: str
123
- """
124
-
125
- self._sampler_type = sampler_type
126
-
127
- @property
128
- def sampler_param(self):
129
- """Gets the sampler_param of this OpenTracing.
130
-
131
-
132
- :return: The sampler_param of this OpenTracing.
133
- :rtype: float
134
- """
135
- return self._sampler_param
136
-
137
- @sampler_param.setter
138
- def sampler_param(self, sampler_param):
139
- """Sets the sampler_param of this OpenTracing.
140
-
141
-
142
- :param sampler_param: The sampler_param of this OpenTracing. # noqa: E501
143
- :type: float
144
- """
145
-
146
- self._sampler_param = sampler_param
147
-
148
-
149
- @staticmethod
150
- def positional_to_model(value):
151
- """Converts a positional argument to a model value"""
152
- return value
153
-
154
- def return_value(self):
155
- """Unwraps return value from model"""
156
- return self
157
-
158
- def to_dict(self):
159
- """Returns the model properties as a dict"""
160
- result = {}
161
-
162
- for attr, _ in six.iteritems(self.swagger_types):
163
- value = getattr(self, attr)
164
- if isinstance(value, list):
165
- result[attr] = list(map(
166
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
167
- value
168
- ))
169
- elif hasattr(value, "to_dict"):
170
- result[attr] = value.to_dict()
171
- elif isinstance(value, dict):
172
- result[attr] = dict(map(
173
- lambda item: (item[0], item[1].to_dict())
174
- if hasattr(item[1], "to_dict") else item,
175
- value.items()
176
- ))
177
- else:
178
- result[attr] = 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, OpenTracing):
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
200
-
201
- # Container emulation
202
- def __getitem__(self, key):
203
- """Returns the value of key"""
204
- key = self._map_key(key)
205
- return getattr(self, key)
206
-
207
- def __setitem__(self, key, value):
208
- """Sets the value of key"""
209
- key = self._map_key(key)
210
- setattr(self, key, value)
211
-
212
- def __contains__(self, key):
213
- """Checks if the given value is a key in this object"""
214
- key = self._map_key(key, raise_on_error=False)
215
- return key is not None
216
-
217
- def keys(self):
218
- """Returns the list of json properties in the object"""
219
- return self.__class__.rattribute_map.keys()
220
-
221
- def values(self):
222
- """Returns the list of values in the object"""
223
- for key in self.__class__.attribute_map.keys():
224
- yield getattr(self, key)
225
-
226
- def items(self):
227
- """Returns the list of json property to value mapping"""
228
- for key, prop in self.__class__.rattribute_map.items():
229
- yield key, getattr(self, prop)
230
-
231
- def get(self, key, default=None):
232
- """Get the value of the provided json property, or default"""
233
- key = self._map_key(key, raise_on_error=False)
234
- if key:
235
- return getattr(self, key, default)
236
- return default
237
-
238
- def _map_key(self, key, raise_on_error=True):
239
- result = self.__class__.rattribute_map.get(key)
240
- if result is None:
241
- if raise_on_error:
242
- raise AttributeError('Invalid attribute name: {}'.format(key))
243
- return None
244
- return '_' + result