flywheel-sdk 20.1.0rc0__py2.py3-none-any.whl → 20.2.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.
- flywheel/__init__.py +3 -6
- flywheel/api/__init__.py +1 -0
- flywheel/api/analyses_api.py +1446 -346
- flywheel/api/container_type_api.py +135 -0
- flywheel/api/dataexplorer_api.py +90 -0
- flywheel/api/files_api.py +437 -0
- flywheel/api/reports_api.py +102 -0
- flywheel/api_client.py +1 -1
- flywheel/configuration.py +2 -2
- flywheel/finder.py +5 -2
- flywheel/flywheel.py +335 -7
- flywheel/models/__init__.py +3 -7
- flywheel/models/action.py +0 -3
- flywheel/models/container_type.py +0 -1
- flywheel/models/current_user_output.py +4 -32
- flywheel/models/features.py +16 -16
- flywheel/models/{azure_ml_resource_init_status.py → file_container_type.py} +8 -6
- flywheel/models/file_list_output.py +54 -1
- flywheel/models/file_node.py +54 -1
- flywheel/models/file_output.py +57 -4
- flywheel/models/file_upsert_output.py +54 -1
- flywheel/models/fixed_input.py +28 -1
- flywheel/models/info_container_type.py +34 -0
- flywheel/models/mixins.py +14 -2
- flywheel/models/modify_user_input.py +4 -32
- flywheel/models/origin_type.py +1 -0
- flywheel/models/project_copy_input.py +28 -1
- flywheel/models/project_settings_workspaces.py +4 -31
- flywheel/models/project_settings_workspaces_input.py +4 -32
- {flywheel_sdk-20.1.0rc0.dist-info → flywheel_sdk-20.2.0.dist-info}/METADATA +3 -3
- {flywheel_sdk-20.1.0rc0.dist-info → flywheel_sdk-20.2.0.dist-info}/RECORD +34 -37
- {flywheel_sdk-20.1.0rc0.dist-info → flywheel_sdk-20.2.0.dist-info}/WHEEL +1 -1
- flywheel/models/azure_ml_account.py +0 -188
- flywheel/models/azure_ml_initialization.py +0 -244
- flywheel/models/azure_ml_integration.py +0 -218
- flywheel/models/azure_ml_workspace.py +0 -347
- flywheel/models/azure_ml_workspace_input.py +0 -189
- {flywheel_sdk-20.1.0rc0.dist-info → flywheel_sdk-20.2.0.dist-info/licenses}/LICENSE.txt +0 -0
- {flywheel_sdk-20.1.0rc0.dist-info → flywheel_sdk-20.2.0.dist-info}/top_level.txt +0 -0
|
@@ -1,189 +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 AzureMLWorkspaceInput(object):
|
|
22
|
-
|
|
23
|
-
swagger_types = {
|
|
24
|
-
'name': 'str',
|
|
25
|
-
'display_name': 'str'
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
attribute_map = {
|
|
29
|
-
'name': 'name',
|
|
30
|
-
'display_name': 'display_name'
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
rattribute_map = {
|
|
34
|
-
'name': 'name',
|
|
35
|
-
'display_name': 'display_name'
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
def __init__(self, name=None, display_name=None): # noqa: E501
|
|
39
|
-
"""AzureMLWorkspaceInput - a model defined in Swagger"""
|
|
40
|
-
super(AzureMLWorkspaceInput, self).__init__()
|
|
41
|
-
|
|
42
|
-
self._name = None
|
|
43
|
-
self._display_name = None
|
|
44
|
-
self.discriminator = None
|
|
45
|
-
self.alt_discriminator = None
|
|
46
|
-
|
|
47
|
-
self.name = name
|
|
48
|
-
if display_name is not None:
|
|
49
|
-
self.display_name = display_name
|
|
50
|
-
|
|
51
|
-
@property
|
|
52
|
-
def name(self):
|
|
53
|
-
"""Gets the name of this AzureMLWorkspaceInput.
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
:return: The name of this AzureMLWorkspaceInput.
|
|
57
|
-
:rtype: str
|
|
58
|
-
"""
|
|
59
|
-
return self._name
|
|
60
|
-
|
|
61
|
-
@name.setter
|
|
62
|
-
def name(self, name):
|
|
63
|
-
"""Sets the name of this AzureMLWorkspaceInput.
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
:param name: The name of this AzureMLWorkspaceInput. # noqa: E501
|
|
67
|
-
:type: str
|
|
68
|
-
"""
|
|
69
|
-
|
|
70
|
-
self._name = name
|
|
71
|
-
|
|
72
|
-
@property
|
|
73
|
-
def display_name(self):
|
|
74
|
-
"""Gets the display_name of this AzureMLWorkspaceInput.
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
:return: The display_name of this AzureMLWorkspaceInput.
|
|
78
|
-
:rtype: str
|
|
79
|
-
"""
|
|
80
|
-
return self._display_name
|
|
81
|
-
|
|
82
|
-
@display_name.setter
|
|
83
|
-
def display_name(self, display_name):
|
|
84
|
-
"""Sets the display_name of this AzureMLWorkspaceInput.
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
:param display_name: The display_name of this AzureMLWorkspaceInput. # noqa: E501
|
|
88
|
-
:type: str
|
|
89
|
-
"""
|
|
90
|
-
|
|
91
|
-
self._display_name = display_name
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
@staticmethod
|
|
95
|
-
def positional_to_model(value):
|
|
96
|
-
"""Converts a positional argument to a model value"""
|
|
97
|
-
return value
|
|
98
|
-
|
|
99
|
-
def return_value(self):
|
|
100
|
-
"""Unwraps return value from model"""
|
|
101
|
-
return self
|
|
102
|
-
|
|
103
|
-
def to_dict(self):
|
|
104
|
-
"""Returns the model properties as a dict"""
|
|
105
|
-
result = {}
|
|
106
|
-
|
|
107
|
-
for attr, _ in six.iteritems(self.swagger_types):
|
|
108
|
-
value = getattr(self, attr)
|
|
109
|
-
if isinstance(value, list):
|
|
110
|
-
result[attr] = list(map(
|
|
111
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
112
|
-
value
|
|
113
|
-
))
|
|
114
|
-
elif hasattr(value, "to_dict"):
|
|
115
|
-
result[attr] = value.to_dict()
|
|
116
|
-
elif isinstance(value, dict):
|
|
117
|
-
result[attr] = dict(map(
|
|
118
|
-
lambda item: (item[0], item[1].to_dict())
|
|
119
|
-
if hasattr(item[1], "to_dict") else item,
|
|
120
|
-
value.items()
|
|
121
|
-
))
|
|
122
|
-
else:
|
|
123
|
-
result[attr] = value
|
|
124
|
-
|
|
125
|
-
return result
|
|
126
|
-
|
|
127
|
-
def to_str(self):
|
|
128
|
-
"""Returns the string representation of the model"""
|
|
129
|
-
return pprint.pformat(self.to_dict())
|
|
130
|
-
|
|
131
|
-
def __repr__(self):
|
|
132
|
-
"""For `print` and `pprint`"""
|
|
133
|
-
return self.to_str()
|
|
134
|
-
|
|
135
|
-
def __eq__(self, other):
|
|
136
|
-
"""Returns true if both objects are equal"""
|
|
137
|
-
if not isinstance(other, AzureMLWorkspaceInput):
|
|
138
|
-
return False
|
|
139
|
-
|
|
140
|
-
return self.__dict__ == other.__dict__
|
|
141
|
-
|
|
142
|
-
def __ne__(self, other):
|
|
143
|
-
"""Returns true if both objects are not equal"""
|
|
144
|
-
return not self == other
|
|
145
|
-
|
|
146
|
-
# Container emulation
|
|
147
|
-
def __getitem__(self, key):
|
|
148
|
-
"""Returns the value of key"""
|
|
149
|
-
key = self._map_key(key)
|
|
150
|
-
return getattr(self, key)
|
|
151
|
-
|
|
152
|
-
def __setitem__(self, key, value):
|
|
153
|
-
"""Sets the value of key"""
|
|
154
|
-
key = self._map_key(key)
|
|
155
|
-
setattr(self, key, value)
|
|
156
|
-
|
|
157
|
-
def __contains__(self, key):
|
|
158
|
-
"""Checks if the given value is a key in this object"""
|
|
159
|
-
key = self._map_key(key, raise_on_error=False)
|
|
160
|
-
return key is not None
|
|
161
|
-
|
|
162
|
-
def keys(self):
|
|
163
|
-
"""Returns the list of json properties in the object"""
|
|
164
|
-
return self.__class__.rattribute_map.keys()
|
|
165
|
-
|
|
166
|
-
def values(self):
|
|
167
|
-
"""Returns the list of values in the object"""
|
|
168
|
-
for key in self.__class__.attribute_map.keys():
|
|
169
|
-
yield getattr(self, key)
|
|
170
|
-
|
|
171
|
-
def items(self):
|
|
172
|
-
"""Returns the list of json property to value mapping"""
|
|
173
|
-
for key, prop in self.__class__.rattribute_map.items():
|
|
174
|
-
yield key, getattr(self, prop)
|
|
175
|
-
|
|
176
|
-
def get(self, key, default=None):
|
|
177
|
-
"""Get the value of the provided json property, or default"""
|
|
178
|
-
key = self._map_key(key, raise_on_error=False)
|
|
179
|
-
if key:
|
|
180
|
-
return getattr(self, key, default)
|
|
181
|
-
return default
|
|
182
|
-
|
|
183
|
-
def _map_key(self, key, raise_on_error=True):
|
|
184
|
-
result = self.__class__.rattribute_map.get(key)
|
|
185
|
-
if result is None:
|
|
186
|
-
if raise_on_error:
|
|
187
|
-
raise AttributeError('Invalid attribute name: {}'.format(key))
|
|
188
|
-
return None
|
|
189
|
-
return '_' + result
|
|
File without changes
|
|
File without changes
|