flywheel-sdk 18.5.0rc0__py2.py3-none-any.whl → 19.0.0rc0__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 +2 -2
- flywheel/api/files_api.py +3 -3
- flywheel/api/projects_api.py +5 -1
- flywheel/api_client.py +1 -1
- flywheel/configuration.py +2 -2
- flywheel/flywheel.py +39 -8
- flywheel/models/__init__.py +3 -3
- flywheel/models/acquisition_list_output.py +3 -2
- flywheel/models/acquisition_upsert_input.py +4 -4
- flywheel/models/analysis_list_output.py +2 -4
- flywheel/models/analysis_list_output_inflated_job.py +2 -4
- flywheel/models/analysis_output.py +2 -4
- flywheel/models/analysis_output_inflated_job.py +2 -4
- flywheel/models/classic_batch_proposal_input.py +1 -2
- flywheel/models/classic_batch_proposal_output.py +2 -4
- flywheel/models/column.py +3 -4
- flywheel/models/container_pipeline_input.py +1 -2
- flywheel/models/{core_models_source_source.py → core_models_common_source.py} +12 -12
- flywheel/models/data_view_column_alias.py +2 -2
- flywheel/models/data_view_execution.py +2 -2
- flywheel/models/features.py +4 -31
- flywheel/models/field_change.py +1 -2
- flywheel/models/file.py +4 -4
- flywheel/models/file_upsert_input.py +4 -4
- flywheel/models/gear_context_value_output.py +1 -2
- flywheel/models/header_feature.py +1 -0
- flywheel/models/jupyterlab_server_response.py +2 -4
- flywheel/models/{page_file_output_.py → page_generic_file_output.py} +16 -16
- flywheel/models/project_hierarchy_input.py +4 -4
- flywheel/models/project_list_output.py +2 -4
- flywheel/models/project_output.py +2 -4
- flywheel/models/search_parent_acquisition.py +1 -0
- flywheel/models/search_parent_analysis.py +1 -0
- flywheel/models/search_parent_collection.py +1 -0
- flywheel/models/search_parent_project.py +1 -0
- flywheel/models/search_parent_response.py +4 -3
- flywheel/models/search_parent_session.py +1 -0
- flywheel/models/session_list_output.py +2 -4
- flywheel/models/session_output.py +2 -4
- flywheel/models/session_upsert_input.py +4 -4
- flywheel/models/structured_query_value_suggestion.py +58 -4
- flywheel/models/subject_output_for_list.py +2 -4
- flywheel/models/subject_upsert_input.py +4 -4
- flywheel/models/version.py +30 -1
- {flywheel_sdk-18.5.0rc0.dist-info → flywheel_sdk-19.0.0rc0.dist-info}/METADATA +6 -6
- {flywheel_sdk-18.5.0rc0.dist-info → flywheel_sdk-19.0.0rc0.dist-info}/RECORD +49 -49
- {flywheel_sdk-18.5.0rc0.dist-info → flywheel_sdk-19.0.0rc0.dist-info}/WHEEL +1 -1
- {flywheel_sdk-18.5.0rc0.dist-info → flywheel_sdk-19.0.0rc0.dist-info}/LICENSE.txt +0 -0
- {flywheel_sdk-18.5.0rc0.dist-info → flywheel_sdk-19.0.0rc0.dist-info}/top_level.txt +0 -0
flywheel/__init__.py
CHANGED
|
@@ -199,8 +199,8 @@ from flywheel.models.container_uidcheck import ContainerUidcheck
|
|
|
199
199
|
from flywheel.models.container_update import ContainerUpdate
|
|
200
200
|
from flywheel.models.context_input import ContextInput
|
|
201
201
|
from flywheel.models.core_models_api_key_api_key_input import CoreModelsApiKeyApiKeyInput
|
|
202
|
+
from flywheel.models.core_models_common_source import CoreModelsCommonSource
|
|
202
203
|
from flywheel.models.core_models_jobs_api_key_input import CoreModelsJobsApiKeyInput
|
|
203
|
-
from flywheel.models.core_models_source_source import CoreModelsSourceSource
|
|
204
204
|
from flywheel.models.create_report_input import CreateReportInput
|
|
205
205
|
from flywheel.models.creds import Creds
|
|
206
206
|
from flywheel.models.curator import Curator
|
|
@@ -475,7 +475,7 @@ from flywheel.models.output_user_page import OutputUserPage
|
|
|
475
475
|
from flywheel.models.packfile_cleanup_output import PackfileCleanupOutput
|
|
476
476
|
from flywheel.models.packfile_removed_output import PackfileRemovedOutput
|
|
477
477
|
from flywheel.models.page import Page
|
|
478
|
-
from flywheel.models.
|
|
478
|
+
from flywheel.models.page_generic_file_output import PageGenericFileOutput
|
|
479
479
|
from flywheel.models.parent_type import ParentType
|
|
480
480
|
from flywheel.models.parsed_query_response import ParsedQueryResponse
|
|
481
481
|
from flywheel.models.permission_access_permission import PermissionAccessPermission
|
flywheel/api/files_api.py
CHANGED
|
@@ -363,7 +363,7 @@ class FilesApi(object):
|
|
|
363
363
|
:param int page:
|
|
364
364
|
:param str after_id:
|
|
365
365
|
:param bool async_: Perform the request asynchronously
|
|
366
|
-
:return:
|
|
366
|
+
:return: PageGenericFileOutput
|
|
367
367
|
"""
|
|
368
368
|
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
369
369
|
kwargs['_return_http_data_only'] = True
|
|
@@ -394,7 +394,7 @@ class FilesApi(object):
|
|
|
394
394
|
:param int page:
|
|
395
395
|
:param str after_id:
|
|
396
396
|
:param bool async_: Perform the request asynchronously
|
|
397
|
-
:return:
|
|
397
|
+
:return: PageGenericFileOutput
|
|
398
398
|
"""
|
|
399
399
|
|
|
400
400
|
all_params = ['filter','sort','limit','skip','page','after_id',] # noqa: E501
|
|
@@ -453,7 +453,7 @@ class FilesApi(object):
|
|
|
453
453
|
body=body_params,
|
|
454
454
|
post_params=form_params,
|
|
455
455
|
files=local_var_files,
|
|
456
|
-
response_type='
|
|
456
|
+
response_type='PageGenericFileOutput', # noqa: E501
|
|
457
457
|
auth_settings=auth_settings,
|
|
458
458
|
async_=params.get('async_'),
|
|
459
459
|
_return_http_data_only=params.get('_return_http_data_only'),
|
flywheel/api/projects_api.py
CHANGED
|
@@ -7513,6 +7513,7 @@ class ProjectsApi(object):
|
|
|
7513
7513
|
|
|
7514
7514
|
:param str project_id: (required)
|
|
7515
7515
|
:param ProjectHierarchyInput body: (required)
|
|
7516
|
+
:param str uid_scope:
|
|
7516
7517
|
:param bool async_: Perform the request asynchronously
|
|
7517
7518
|
:return: ProjectHierarchyOutput
|
|
7518
7519
|
"""
|
|
@@ -7540,11 +7541,12 @@ class ProjectsApi(object):
|
|
|
7540
7541
|
|
|
7541
7542
|
:param str project_id: (required)
|
|
7542
7543
|
:param ProjectHierarchyInput body: (required)
|
|
7544
|
+
:param str uid_scope:
|
|
7543
7545
|
:param bool async_: Perform the request asynchronously
|
|
7544
7546
|
:return: ProjectHierarchyOutput
|
|
7545
7547
|
"""
|
|
7546
7548
|
|
|
7547
|
-
all_params = ['project_id','body',] # noqa: E501
|
|
7549
|
+
all_params = ['project_id','body','uid_scope',] # noqa: E501
|
|
7548
7550
|
all_params.append('async_')
|
|
7549
7551
|
all_params.append('_return_http_data_only')
|
|
7550
7552
|
all_params.append('_preload_content')
|
|
@@ -7576,6 +7578,8 @@ class ProjectsApi(object):
|
|
|
7576
7578
|
path_params['project_id'] = params['project_id'] # noqa: E501
|
|
7577
7579
|
|
|
7578
7580
|
query_params = []
|
|
7581
|
+
if 'uid_scope' in params:
|
|
7582
|
+
query_params.append(('uid_scope', params['uid_scope'])) # noqa: E501
|
|
7579
7583
|
|
|
7580
7584
|
header_params = {}
|
|
7581
7585
|
|
flywheel/api_client.py
CHANGED
|
@@ -81,7 +81,7 @@ class ApiClient(object):
|
|
|
81
81
|
self.default_query_params = []
|
|
82
82
|
self.cookie = cookie
|
|
83
83
|
# Set default User-Agent.
|
|
84
|
-
self.user_agent = 'Swagger-Codegen/
|
|
84
|
+
self.user_agent = 'Swagger-Codegen/19.0.0-rc0/python'
|
|
85
85
|
self.last_response = None
|
|
86
86
|
self._version_check_fn = None
|
|
87
87
|
self._context = context
|
flywheel/configuration.py
CHANGED
|
@@ -252,6 +252,6 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
|
|
|
252
252
|
return "Python SDK Debug Report:\n"\
|
|
253
253
|
"OS: {env}\n"\
|
|
254
254
|
"Python Version: {pyversion}\n"\
|
|
255
|
-
"Version of the API:
|
|
256
|
-
"SDK Package Version:
|
|
255
|
+
"Version of the API: 19.0.0-rc0\n"\
|
|
256
|
+
"SDK Package Version: 19.0.0-rc0".\
|
|
257
257
|
format(env=sys.platform, pyversion=sys.version)
|
flywheel/flywheel.py
CHANGED
|
@@ -27,6 +27,7 @@ import io
|
|
|
27
27
|
import platform
|
|
28
28
|
import logging
|
|
29
29
|
import mimetypes
|
|
30
|
+
import warnings
|
|
30
31
|
from packaging import version
|
|
31
32
|
from urllib.parse import urlparse, parse_qs
|
|
32
33
|
|
|
@@ -39,7 +40,7 @@ from flywheel.view_builder import ViewBuilder
|
|
|
39
40
|
from flywheel.finder import Finder
|
|
40
41
|
import flywheel.api
|
|
41
42
|
|
|
42
|
-
SDK_VERSION = "
|
|
43
|
+
SDK_VERSION = "19.0.0-rc0"
|
|
43
44
|
|
|
44
45
|
def config_from_api_key(api_key):
|
|
45
46
|
parts = api_key.split(':')
|
|
@@ -72,9 +73,27 @@ def config_from_api_key(api_key):
|
|
|
72
73
|
|
|
73
74
|
|
|
74
75
|
class Flywheel:
|
|
76
|
+
"""Main client class for the Python SDK.
|
|
77
|
+
|
|
78
|
+
Normally initialized via a call to `flywheel.Client` rather than by directly
|
|
79
|
+
calling this class.
|
|
80
|
+
|
|
81
|
+
:param str api_key: The API key to authenticate with.
|
|
82
|
+
:param int minimum_supported_major_version: Minimum major version of the SDK the
|
|
83
|
+
caller accepts.
|
|
84
|
+
:param bool root: Sets default parameter for requests to return a complete list
|
|
85
|
+
regardless of permissions - for site admin users. Deprecated - use `exhaustive`
|
|
86
|
+
instead.
|
|
87
|
+
:param bool skip_version_check: Deprecated--does nothing.
|
|
88
|
+
:param bool subjects_in_resolver: Deprecated--does nothing.
|
|
89
|
+
:param int request_timeout: The client timeout for making requests, in seconds.
|
|
90
|
+
:param int connect_timeout: The client timeout for making connections, in seconds.
|
|
91
|
+
:param bool exhaustive: Sets default parameter for requests to return a complete
|
|
92
|
+
list regardless of permissions - for site admin users.
|
|
93
|
+
"""
|
|
75
94
|
def __init__(self, api_key, minimum_supported_major_version=0, root=False,
|
|
76
|
-
skip_version_check=
|
|
77
|
-
request_timeout=None, connect_timeout=None):
|
|
95
|
+
skip_version_check=None, subjects_in_resolver=None,
|
|
96
|
+
request_timeout=None, connect_timeout=None, exhaustive=False):
|
|
78
97
|
|
|
79
98
|
# Check that the client caller is expecting the minimum supported version
|
|
80
99
|
if minimum_supported_major_version < 11:
|
|
@@ -91,9 +110,24 @@ class Flywheel:
|
|
|
91
110
|
connect_timeout=connect_timeout
|
|
92
111
|
)
|
|
93
112
|
|
|
113
|
+
# skip_version_check (Deprecated)
|
|
114
|
+
if skip_version_check is not None:
|
|
115
|
+
log.warning('The skip_version_check parameter is deprecated')
|
|
116
|
+
warnings.warn('The skip_version_check parameter is deprecated', DeprecationWarning)
|
|
117
|
+
|
|
118
|
+
# subjects in resolver (deprecated)
|
|
119
|
+
if subjects_in_resolver is not None:
|
|
120
|
+
log.warning('The subjects_in_resolver parameter is deprecated')
|
|
121
|
+
warnings.warn('The subjects_in_resolver parameter is deprecated', DeprecationWarning)
|
|
122
|
+
|
|
94
123
|
# Root mode (Deprecated)
|
|
95
124
|
if root:
|
|
96
125
|
log.warning('Root mode is deprecated')
|
|
126
|
+
warnings.warn('Root mode is deprecated', DeprecationWarning)
|
|
127
|
+
self.api_client.set_default_query_param('exhaustive', 'true')
|
|
128
|
+
|
|
129
|
+
# exhaustive mode
|
|
130
|
+
if exhaustive:
|
|
97
131
|
self.api_client.set_default_query_param('exhaustive', 'true')
|
|
98
132
|
|
|
99
133
|
self.api_client.user_agent = 'Flywheel SDK/{} (Python {}; {})'.format(SDK_VERSION,
|
|
@@ -155,10 +189,6 @@ class Flywheel:
|
|
|
155
189
|
catalog_list._func
|
|
156
190
|
self.catalog_list = catalog_list
|
|
157
191
|
|
|
158
|
-
# Enable subjects in resolver by default
|
|
159
|
-
if subjects_in_resolver is None:
|
|
160
|
-
subjects_in_resolver = os.environ.get('FLYWHEEL_SDK_SUBJECTS_IN_RESOLVER', '').lower() not in ['0', 'false']
|
|
161
|
-
|
|
162
192
|
self.enable_feature('Safe-Redirect')
|
|
163
193
|
self.enable_feature('multipart_signed_url')
|
|
164
194
|
|
|
@@ -2996,7 +3026,7 @@ class Flywheel:
|
|
|
2996
3026
|
:param int page:
|
|
2997
3027
|
:param str after_id:
|
|
2998
3028
|
:param bool async_: Perform the request asynchronously
|
|
2999
|
-
:return:
|
|
3029
|
+
:return: PageGenericFileOutput
|
|
3000
3030
|
"""
|
|
3001
3031
|
return self.files_api.get_all_files(**kwargs)
|
|
3002
3032
|
|
|
@@ -4968,6 +4998,7 @@ class Flywheel:
|
|
|
4968
4998
|
|
|
4969
4999
|
:param str project_id: (required)
|
|
4970
5000
|
:param ProjectHierarchyInput body: (required)
|
|
5001
|
+
:param str uid_scope:
|
|
4971
5002
|
:param bool async_: Perform the request asynchronously
|
|
4972
5003
|
:return: ProjectHierarchyOutput
|
|
4973
5004
|
"""
|
flywheel/models/__init__.py
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
Flywheel: API for data import, automated curation, image processing, machine learning workflows, and secure collaboration. # noqa: E501
|
|
8
8
|
|
|
9
|
-
OpenAPI spec version:
|
|
9
|
+
OpenAPI spec version: 19.0.0-rc0
|
|
10
10
|
|
|
11
11
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
12
12
|
"""
|
|
@@ -147,8 +147,8 @@ from flywheel.models.container_uidcheck import ContainerUidcheck
|
|
|
147
147
|
from flywheel.models.container_update import ContainerUpdate
|
|
148
148
|
from flywheel.models.context_input import ContextInput
|
|
149
149
|
from flywheel.models.core_models_api_key_api_key_input import CoreModelsApiKeyApiKeyInput
|
|
150
|
+
from flywheel.models.core_models_common_source import CoreModelsCommonSource
|
|
150
151
|
from flywheel.models.core_models_jobs_api_key_input import CoreModelsJobsApiKeyInput
|
|
151
|
-
from flywheel.models.core_models_source_source import CoreModelsSourceSource
|
|
152
152
|
from flywheel.models.create_report_input import CreateReportInput
|
|
153
153
|
from flywheel.models.creds import Creds
|
|
154
154
|
from flywheel.models.curator import Curator
|
|
@@ -423,7 +423,7 @@ from flywheel.models.output_user_page import OutputUserPage
|
|
|
423
423
|
from flywheel.models.packfile_cleanup_output import PackfileCleanupOutput
|
|
424
424
|
from flywheel.models.packfile_removed_output import PackfileRemovedOutput
|
|
425
425
|
from flywheel.models.page import Page
|
|
426
|
-
from flywheel.models.
|
|
426
|
+
from flywheel.models.page_generic_file_output import PageGenericFileOutput
|
|
427
427
|
from flywheel.models.parent_type import ParentType
|
|
428
428
|
from flywheel.models.parsed_query_response import ParsedQueryResponse
|
|
429
429
|
from flywheel.models.permission_access_permission import PermissionAccessPermission
|
|
@@ -102,7 +102,7 @@ class AcquisitionListOutput(AcquisitionMixin):
|
|
|
102
102
|
'original_copy_of': 'original_copy_of'
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
def __init__(self, id=None, parents=None, label=None, session=None, info=None, info_exists=
|
|
105
|
+
def __init__(self, id=None, parents=None, label=None, session=None, info=None, info_exists=False, metadata=None, uid=None, timestamp=None, timezone=None, created=None, tags=None, modified=None, revision=1, permissions=None, notes=None, analyses=None, collections=None, join_origin=None, files=None, copy_of=None, original_copy_of=None): # noqa: E501
|
|
106
106
|
"""AcquisitionListOutput - a model defined in Swagger"""
|
|
107
107
|
super(AcquisitionListOutput, self).__init__()
|
|
108
108
|
|
|
@@ -137,7 +137,8 @@ class AcquisitionListOutput(AcquisitionMixin):
|
|
|
137
137
|
self.label = label
|
|
138
138
|
self.session = session
|
|
139
139
|
self.info = info
|
|
140
|
-
|
|
140
|
+
if info_exists is not None:
|
|
141
|
+
self.info_exists = info_exists
|
|
141
142
|
if metadata is not None:
|
|
142
143
|
self.metadata = metadata
|
|
143
144
|
if uid is not None:
|
|
@@ -18,7 +18,7 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import six
|
|
20
20
|
|
|
21
|
-
from flywheel.models.
|
|
21
|
+
from flywheel.models.core_models_common_source import CoreModelsCommonSource # noqa: F401,E501
|
|
22
22
|
|
|
23
23
|
class AcquisitionUpsertInput(object):
|
|
24
24
|
|
|
@@ -27,7 +27,7 @@ class AcquisitionUpsertInput(object):
|
|
|
27
27
|
'uid': 'str',
|
|
28
28
|
'routing_field': 'str',
|
|
29
29
|
'label': 'str',
|
|
30
|
-
'source': '
|
|
30
|
+
'source': 'CoreModelsCommonSource',
|
|
31
31
|
'timestamp': 'datetime',
|
|
32
32
|
'timezone': 'str',
|
|
33
33
|
'info': 'object'
|
|
@@ -177,7 +177,7 @@ class AcquisitionUpsertInput(object):
|
|
|
177
177
|
|
|
178
178
|
|
|
179
179
|
:return: The source of this AcquisitionUpsertInput.
|
|
180
|
-
:rtype:
|
|
180
|
+
:rtype: CoreModelsCommonSource
|
|
181
181
|
"""
|
|
182
182
|
return self._source
|
|
183
183
|
|
|
@@ -187,7 +187,7 @@ class AcquisitionUpsertInput(object):
|
|
|
187
187
|
|
|
188
188
|
|
|
189
189
|
:param source: The source of this AcquisitionUpsertInput. # noqa: E501
|
|
190
|
-
:type:
|
|
190
|
+
:type: CoreModelsCommonSource
|
|
191
191
|
"""
|
|
192
192
|
|
|
193
193
|
self._source = source
|
|
@@ -145,10 +145,8 @@ class AnalysisListOutput(AnalysisMixin):
|
|
|
145
145
|
self.compute_provider_id = compute_provider_id
|
|
146
146
|
if join_origin is not None:
|
|
147
147
|
self.join_origin = join_origin
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
if original_copy_of is not None:
|
|
151
|
-
self.original_copy_of = original_copy_of
|
|
148
|
+
self.copy_of = copy_of
|
|
149
|
+
self.original_copy_of = original_copy_of
|
|
152
150
|
if timestamp is not None:
|
|
153
151
|
self.timestamp = timestamp
|
|
154
152
|
if info is not None:
|
|
@@ -142,10 +142,8 @@ class AnalysisListOutputInflatedJob(object):
|
|
|
142
142
|
self.compute_provider_id = compute_provider_id
|
|
143
143
|
if join_origin is not None:
|
|
144
144
|
self.join_origin = join_origin
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
if original_copy_of is not None:
|
|
148
|
-
self.original_copy_of = original_copy_of
|
|
145
|
+
self.copy_of = copy_of
|
|
146
|
+
self.original_copy_of = original_copy_of
|
|
149
147
|
|
|
150
148
|
@property
|
|
151
149
|
def id(self):
|
|
@@ -148,10 +148,8 @@ class AnalysisOutput(AnalysisMixin):
|
|
|
148
148
|
self.compute_provider_id = compute_provider_id
|
|
149
149
|
if join_origin is not None:
|
|
150
150
|
self.join_origin = join_origin
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
if original_copy_of is not None:
|
|
154
|
-
self.original_copy_of = original_copy_of
|
|
151
|
+
self.copy_of = copy_of
|
|
152
|
+
self.original_copy_of = original_copy_of
|
|
155
153
|
|
|
156
154
|
@property
|
|
157
155
|
def id(self):
|
|
@@ -148,10 +148,8 @@ class AnalysisOutputInflatedJob(object):
|
|
|
148
148
|
self.compute_provider_id = compute_provider_id
|
|
149
149
|
if join_origin is not None:
|
|
150
150
|
self.join_origin = join_origin
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
if original_copy_of is not None:
|
|
154
|
-
self.original_copy_of = original_copy_of
|
|
151
|
+
self.copy_of = copy_of
|
|
152
|
+
self.original_copy_of = original_copy_of
|
|
155
153
|
|
|
156
154
|
@property
|
|
157
155
|
def id(self):
|
|
@@ -20,6 +20,7 @@ import six
|
|
|
20
20
|
|
|
21
21
|
from flywheel.models.batch_job_analysis_input import BatchJobAnalysisInput # noqa: F401,E501
|
|
22
22
|
from flywheel.models.container_reference import ContainerReference # noqa: F401,E501
|
|
23
|
+
from flywheel.models.optional_input_policy import OptionalInputPolicy # noqa: F401,E501
|
|
23
24
|
|
|
24
25
|
class ClassicBatchProposalInput(object):
|
|
25
26
|
|
|
@@ -245,7 +246,6 @@ class ClassicBatchProposalInput(object):
|
|
|
245
246
|
def optional_input_policy(self):
|
|
246
247
|
"""Gets the optional_input_policy of this ClassicBatchProposalInput.
|
|
247
248
|
|
|
248
|
-
ignored: Ignore all optional inputs, flexible: match a file if it's there, otherwise still match the container, required: treat all optional inputs as required inputs.
|
|
249
249
|
|
|
250
250
|
:return: The optional_input_policy of this ClassicBatchProposalInput.
|
|
251
251
|
:rtype: OptionalInputPolicy
|
|
@@ -256,7 +256,6 @@ class ClassicBatchProposalInput(object):
|
|
|
256
256
|
def optional_input_policy(self, optional_input_policy):
|
|
257
257
|
"""Sets the optional_input_policy of this ClassicBatchProposalInput.
|
|
258
258
|
|
|
259
|
-
ignored: Ignore all optional inputs, flexible: match a file if it's there, otherwise still match the container, required: treat all optional inputs as required inputs.
|
|
260
259
|
|
|
261
260
|
:param optional_input_policy: The optional_input_policy of this ClassicBatchProposalInput. # noqa: E501
|
|
262
261
|
:type: OptionalInputPolicy
|
|
@@ -19,6 +19,7 @@ import re # noqa: F401
|
|
|
19
19
|
import six
|
|
20
20
|
|
|
21
21
|
from flywheel.models.job_state import JobState # noqa: F401,E501
|
|
22
|
+
from flywheel.models.optional_input_policy import OptionalInputPolicy # noqa: F401,E501
|
|
22
23
|
from flywheel.models.origin import Origin # noqa: F401,E501
|
|
23
24
|
|
|
24
25
|
from .mixins import BatchProposalMixin
|
|
@@ -102,8 +103,7 @@ class ClassicBatchProposalOutput(BatchProposalMixin):
|
|
|
102
103
|
self.created = created
|
|
103
104
|
if modified is not None:
|
|
104
105
|
self.modified = modified
|
|
105
|
-
|
|
106
|
-
self.optional_input_policy = optional_input_policy
|
|
106
|
+
self.optional_input_policy = optional_input_policy
|
|
107
107
|
self.ambiguous = ambiguous
|
|
108
108
|
self.not_matched = not_matched
|
|
109
109
|
self.matched = matched
|
|
@@ -267,7 +267,6 @@ class ClassicBatchProposalOutput(BatchProposalMixin):
|
|
|
267
267
|
def optional_input_policy(self):
|
|
268
268
|
"""Gets the optional_input_policy of this ClassicBatchProposalOutput.
|
|
269
269
|
|
|
270
|
-
ignored: Ignore all optional inputs, flexible: match a file if it's there, otherwise still match the container, required: treat all optional inputs as required inputs.
|
|
271
270
|
|
|
272
271
|
:return: The optional_input_policy of this ClassicBatchProposalOutput.
|
|
273
272
|
:rtype: OptionalInputPolicy
|
|
@@ -278,7 +277,6 @@ class ClassicBatchProposalOutput(BatchProposalMixin):
|
|
|
278
277
|
def optional_input_policy(self, optional_input_policy):
|
|
279
278
|
"""Sets the optional_input_policy of this ClassicBatchProposalOutput.
|
|
280
279
|
|
|
281
|
-
ignored: Ignore all optional inputs, flexible: match a file if it's there, otherwise still match the container, required: treat all optional inputs as required inputs.
|
|
282
280
|
|
|
283
281
|
:param optional_input_policy: The optional_input_policy of this ClassicBatchProposalOutput. # noqa: E501
|
|
284
282
|
:type: OptionalInputPolicy
|
flywheel/models/column.py
CHANGED
|
@@ -18,6 +18,9 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import six
|
|
20
20
|
|
|
21
|
+
from flywheel.models.accumulator import Accumulator # noqa: F401,E501
|
|
22
|
+
from flywheel.models.type_str import TypeStr # noqa: F401,E501
|
|
23
|
+
|
|
21
24
|
class Column(object):
|
|
22
25
|
|
|
23
26
|
swagger_types = {
|
|
@@ -116,7 +119,6 @@ class Column(object):
|
|
|
116
119
|
def type(self):
|
|
117
120
|
"""Gets the type of this Column.
|
|
118
121
|
|
|
119
|
-
The type that this value should be translated to (for typed output)
|
|
120
122
|
|
|
121
123
|
:return: The type of this Column.
|
|
122
124
|
:rtype: TypeStr
|
|
@@ -127,7 +129,6 @@ class Column(object):
|
|
|
127
129
|
def type(self, type):
|
|
128
130
|
"""Sets the type of this Column.
|
|
129
131
|
|
|
130
|
-
The type that this value should be translated to (for typed output)
|
|
131
132
|
|
|
132
133
|
:param type: The type of this Column. # noqa: E501
|
|
133
134
|
:type: TypeStr
|
|
@@ -162,7 +163,6 @@ class Column(object):
|
|
|
162
163
|
def accumulator(self):
|
|
163
164
|
"""Gets the accumulator of this Column.
|
|
164
165
|
|
|
165
|
-
Accumulation operator for an a group by aggregation
|
|
166
166
|
|
|
167
167
|
:return: The accumulator of this Column.
|
|
168
168
|
:rtype: Accumulator
|
|
@@ -173,7 +173,6 @@ class Column(object):
|
|
|
173
173
|
def accumulator(self, accumulator):
|
|
174
174
|
"""Sets the accumulator of this Column.
|
|
175
175
|
|
|
176
|
-
Accumulation operator for an a group by aggregation
|
|
177
176
|
|
|
178
177
|
:param accumulator: The accumulator of this Column. # noqa: E501
|
|
179
178
|
:type: Accumulator
|
|
@@ -19,6 +19,7 @@ import re # noqa: F401
|
|
|
19
19
|
import six
|
|
20
20
|
|
|
21
21
|
from flywheel.models.column import Column # noqa: F401,E501
|
|
22
|
+
from flywheel.models.data_strategy import DataStrategy # noqa: F401,E501
|
|
22
23
|
from flywheel.models.data_view_file_spec import DataViewFileSpec # noqa: F401,E501
|
|
23
24
|
from flywheel.models.group_by import GroupBy # noqa: F401,E501
|
|
24
25
|
from flywheel.models.origin import Origin # noqa: F401,E501
|
|
@@ -350,7 +351,6 @@ class ContainerPipelineInput(object):
|
|
|
350
351
|
def missing_data_strategy(self):
|
|
351
352
|
"""Gets the missing_data_strategy of this ContainerPipelineInput.
|
|
352
353
|
|
|
353
|
-
What to do if missing data are encountered. Default is none, which is to say replace with an empty or null value.
|
|
354
354
|
|
|
355
355
|
:return: The missing_data_strategy of this ContainerPipelineInput.
|
|
356
356
|
:rtype: DataStrategy
|
|
@@ -361,7 +361,6 @@ class ContainerPipelineInput(object):
|
|
|
361
361
|
def missing_data_strategy(self, missing_data_strategy):
|
|
362
362
|
"""Sets the missing_data_strategy of this ContainerPipelineInput.
|
|
363
363
|
|
|
364
|
-
What to do if missing data are encountered. Default is none, which is to say replace with an empty or null value.
|
|
365
364
|
|
|
366
365
|
:param missing_data_strategy: The missing_data_strategy of this ContainerPipelineInput. # noqa: E501
|
|
367
366
|
:type: DataStrategy
|
|
@@ -18,7 +18,7 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import six
|
|
20
20
|
|
|
21
|
-
class
|
|
21
|
+
class CoreModelsCommonSource(object):
|
|
22
22
|
|
|
23
23
|
swagger_types = {
|
|
24
24
|
'type': 'str',
|
|
@@ -36,8 +36,8 @@ class CoreModelsSourceSource(object):
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
def __init__(self, type=None, id=None): # noqa: E501
|
|
39
|
-
"""
|
|
40
|
-
super(
|
|
39
|
+
"""CoreModelsCommonSource - a model defined in Swagger"""
|
|
40
|
+
super(CoreModelsCommonSource, self).__init__()
|
|
41
41
|
|
|
42
42
|
self._type = None
|
|
43
43
|
self._id = None
|
|
@@ -49,20 +49,20 @@ class CoreModelsSourceSource(object):
|
|
|
49
49
|
|
|
50
50
|
@property
|
|
51
51
|
def type(self):
|
|
52
|
-
"""Gets the type of this
|
|
52
|
+
"""Gets the type of this CoreModelsCommonSource.
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
:return: The type of this
|
|
55
|
+
:return: The type of this CoreModelsCommonSource.
|
|
56
56
|
:rtype: str
|
|
57
57
|
"""
|
|
58
58
|
return self._type
|
|
59
59
|
|
|
60
60
|
@type.setter
|
|
61
61
|
def type(self, type):
|
|
62
|
-
"""Sets the type of this
|
|
62
|
+
"""Sets the type of this CoreModelsCommonSource.
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
:param type: The type of this
|
|
65
|
+
:param type: The type of this CoreModelsCommonSource. # noqa: E501
|
|
66
66
|
:type: str
|
|
67
67
|
"""
|
|
68
68
|
|
|
@@ -70,20 +70,20 @@ class CoreModelsSourceSource(object):
|
|
|
70
70
|
|
|
71
71
|
@property
|
|
72
72
|
def id(self):
|
|
73
|
-
"""Gets the id of this
|
|
73
|
+
"""Gets the id of this CoreModelsCommonSource.
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
:return: The id of this
|
|
76
|
+
:return: The id of this CoreModelsCommonSource.
|
|
77
77
|
:rtype: str
|
|
78
78
|
"""
|
|
79
79
|
return self._id
|
|
80
80
|
|
|
81
81
|
@id.setter
|
|
82
82
|
def id(self, id):
|
|
83
|
-
"""Sets the id of this
|
|
83
|
+
"""Sets the id of this CoreModelsCommonSource.
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
:param id: The id of this
|
|
86
|
+
:param id: The id of this CoreModelsCommonSource. # noqa: E501
|
|
87
87
|
:type: str
|
|
88
88
|
"""
|
|
89
89
|
|
|
@@ -133,7 +133,7 @@ class CoreModelsSourceSource(object):
|
|
|
133
133
|
|
|
134
134
|
def __eq__(self, other):
|
|
135
135
|
"""Returns true if both objects are equal"""
|
|
136
|
-
if not isinstance(other,
|
|
136
|
+
if not isinstance(other, CoreModelsCommonSource):
|
|
137
137
|
return False
|
|
138
138
|
|
|
139
139
|
return self.__dict__ == other.__dict__
|
|
@@ -18,6 +18,8 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import six
|
|
20
20
|
|
|
21
|
+
from flywheel.models.column_type import ColumnType # noqa: F401,E501
|
|
22
|
+
|
|
21
23
|
class DataViewColumnAlias(object):
|
|
22
24
|
|
|
23
25
|
swagger_types = {
|
|
@@ -173,7 +175,6 @@ class DataViewColumnAlias(object):
|
|
|
173
175
|
def type(self):
|
|
174
176
|
"""Gets the type of this DataViewColumnAlias.
|
|
175
177
|
|
|
176
|
-
The type that this value should be translated to (for typed output)
|
|
177
178
|
|
|
178
179
|
:return: The type of this DataViewColumnAlias.
|
|
179
180
|
:rtype: ColumnType
|
|
@@ -184,7 +185,6 @@ class DataViewColumnAlias(object):
|
|
|
184
185
|
def type(self, type):
|
|
185
186
|
"""Sets the type of this DataViewColumnAlias.
|
|
186
187
|
|
|
187
|
-
The type that this value should be translated to (for typed output)
|
|
188
188
|
|
|
189
189
|
:param type: The type of this DataViewColumnAlias. # noqa: E501
|
|
190
190
|
:type: ColumnType
|
|
@@ -18,6 +18,8 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import six
|
|
20
20
|
|
|
21
|
+
from flywheel.models.data_view_execution_state import DataViewExecutionState # noqa: F401,E501
|
|
22
|
+
|
|
21
23
|
class DataViewExecution(object):
|
|
22
24
|
|
|
23
25
|
swagger_types = {
|
|
@@ -251,7 +253,6 @@ class DataViewExecution(object):
|
|
|
251
253
|
def state(self):
|
|
252
254
|
"""Gets the state of this DataViewExecution.
|
|
253
255
|
|
|
254
|
-
The expected data file format, default is auto-detect
|
|
255
256
|
|
|
256
257
|
:return: The state of this DataViewExecution.
|
|
257
258
|
:rtype: DataViewExecutionState
|
|
@@ -262,7 +263,6 @@ class DataViewExecution(object):
|
|
|
262
263
|
def state(self, state):
|
|
263
264
|
"""Sets the state of this DataViewExecution.
|
|
264
265
|
|
|
265
|
-
The expected data file format, default is auto-detect
|
|
266
266
|
|
|
267
267
|
:param state: The state of this DataViewExecution. # noqa: E501
|
|
268
268
|
:type: DataViewExecutionState
|