flywheel-sdk 18.1.1__py2.py3-none-any.whl → 18.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 +2 -2
- flywheel/api/acquisitions_api.py +2 -2
- flywheel/api/analyses_api.py +6 -6
- flywheel/api/containers_api.py +2 -2
- flywheel/api/projects_api.py +2 -2
- flywheel/api/sessions_api.py +2 -2
- flywheel/api/site_api.py +96 -0
- flywheel/api/subjects_api.py +2 -2
- flywheel/api_client.py +4 -4
- flywheel/client.py +1 -1
- flywheel/configuration.py +1 -1
- flywheel/flywheel.py +23 -11
- flywheel/gear_context.py +10 -10
- flywheel/models/__init__.py +2 -2
- flywheel/models/auth0_auth_out.py +31 -4
- flywheel/models/aws_storage.py +31 -4
- flywheel/models/central_out.py +31 -4
- flywheel/models/current_user_output.py +1 -29
- flywheel/models/egress_provider.py +56 -1
- flywheel/models/features.py +31 -4
- flywheel/models/modify_user_input.py +1 -29
- flywheel/models/provider.py +56 -1
- flywheel/models/{multifactor_account.py → provider_deletion_status.py} +37 -65
- flywheel/models/{channel.py → s3_addressing_style.py} +3 -5
- flywheel/models/s3_compat_storage.py +31 -4
- flywheel/models/sync_user_input.py +32 -4
- flywheel/view_builder.py +6 -6
- {flywheel_sdk-18.1.1.dist-info → flywheel_sdk-18.2.0.dist-info}/METADATA +1 -1
- {flywheel_sdk-18.1.1.dist-info → flywheel_sdk-18.2.0.dist-info}/RECORD +32 -32
- {flywheel_sdk-18.1.1.dist-info → flywheel_sdk-18.2.0.dist-info}/LICENSE.txt +0 -0
- {flywheel_sdk-18.1.1.dist-info → flywheel_sdk-18.2.0.dist-info}/WHEEL +0 -0
- {flywheel_sdk-18.1.1.dist-info → flywheel_sdk-18.2.0.dist-info}/top_level.txt +0 -0
flywheel/__init__.py
CHANGED
|
@@ -140,7 +140,6 @@ from flywheel.models.change import Change
|
|
|
140
140
|
from flywheel.models.change_log_container_type import ChangeLogContainerType
|
|
141
141
|
from flywheel.models.change_log_document import ChangeLogDocument
|
|
142
142
|
from flywheel.models.change_method import ChangeMethod
|
|
143
|
-
from flywheel.models.channel import Channel
|
|
144
143
|
from flywheel.models.classic_batch_job_output import ClassicBatchJobOutput
|
|
145
144
|
from flywheel.models.classic_batch_job_output_inflated_jobs import ClassicBatchJobOutputInflatedJobs
|
|
146
145
|
from flywheel.models.classic_batch_proposal_input import ClassicBatchProposalInput
|
|
@@ -458,7 +457,6 @@ from flywheel.models.modality_output import ModalityOutput
|
|
|
458
457
|
from flywheel.models.modified_result import ModifiedResult
|
|
459
458
|
from flywheel.models.modify_report_input import ModifyReportInput
|
|
460
459
|
from flywheel.models.modify_user_input import ModifyUserInput
|
|
461
|
-
from flywheel.models.multifactor_account import MultifactorAccount
|
|
462
460
|
from flywheel.models.note import Note
|
|
463
461
|
from flywheel.models.note_input import NoteInput
|
|
464
462
|
from flywheel.models.open_tracing import OpenTracing
|
|
@@ -537,6 +535,7 @@ from flywheel.models.project_upsert_origin import ProjectUpsertOrigin
|
|
|
537
535
|
from flywheel.models.provider import Provider
|
|
538
536
|
from flywheel.models.provider_access_type import ProviderAccessType
|
|
539
537
|
from flywheel.models.provider_class import ProviderClass
|
|
538
|
+
from flywheel.models.provider_deletion_status import ProviderDeletionStatus
|
|
540
539
|
from flywheel.models.provider_input import ProviderInput
|
|
541
540
|
from flywheel.models.provider_links import ProviderLinks
|
|
542
541
|
from flywheel.models.provider_type import ProviderType
|
|
@@ -586,6 +585,7 @@ from flywheel.models.roles_role_assignment import RolesRoleAssignment
|
|
|
586
585
|
from flywheel.models.roles_role_input import RolesRoleInput
|
|
587
586
|
from flywheel.models.rule import Rule
|
|
588
587
|
from flywheel.models.rule_any import RuleAny
|
|
588
|
+
from flywheel.models.s3_addressing_style import S3AddressingStyle
|
|
589
589
|
from flywheel.models.s3_compat_storage import S3CompatStorage
|
|
590
590
|
from flywheel.models.save_search import SaveSearch
|
|
591
591
|
from flywheel.models.save_search_input import SaveSearchInput
|
flywheel/api/acquisitions_api.py
CHANGED
|
@@ -2939,7 +2939,7 @@ class AcquisitionsApi(object):
|
|
|
2939
2939
|
def get_acquisition_analysis(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
2940
2940
|
"""Get an analysis.
|
|
2941
2941
|
|
|
2942
|
-
|
|
2942
|
+
Get an analysis.
|
|
2943
2943
|
This method makes a synchronous HTTP request by default.
|
|
2944
2944
|
|
|
2945
2945
|
:param str cid: (required)
|
|
@@ -2969,7 +2969,7 @@ class AcquisitionsApi(object):
|
|
|
2969
2969
|
def get_acquisition_analysis_with_http_info(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
2970
2970
|
"""Get an analysis.
|
|
2971
2971
|
|
|
2972
|
-
|
|
2972
|
+
Get an analysis.
|
|
2973
2973
|
This method makes a synchronous HTTP request by default.
|
|
2974
2974
|
|
|
2975
2975
|
:param str cid: (required)
|
flywheel/api/analyses_api.py
CHANGED
|
@@ -956,7 +956,7 @@ class AnalysesApi(object):
|
|
|
956
956
|
def download_output_from_analysis(self, analysis_id, filename, dest_file, **kwargs): # noqa: E501
|
|
957
957
|
"""Get Output File
|
|
958
958
|
|
|
959
|
-
|
|
959
|
+
Get Output File
|
|
960
960
|
This method makes a synchronous HTTP request by default.
|
|
961
961
|
|
|
962
962
|
:param str analysis_id: 24-character hex ID (required)
|
|
@@ -988,7 +988,7 @@ class AnalysesApi(object):
|
|
|
988
988
|
def download_output_from_analysis_with_http_info(self, analysis_id, filename, **kwargs): # noqa: E501
|
|
989
989
|
"""Get Output File
|
|
990
990
|
|
|
991
|
-
|
|
991
|
+
Get Output File
|
|
992
992
|
This method makes a synchronous HTTP request by default.
|
|
993
993
|
|
|
994
994
|
:param str analysis_id: 24-character hex ID (required)
|
|
@@ -1081,7 +1081,7 @@ class AnalysesApi(object):
|
|
|
1081
1081
|
def get_analysis_output_zip_info(self, analysis_id, filename, **kwargs): # noqa: E501
|
|
1082
1082
|
"""Get Output File
|
|
1083
1083
|
|
|
1084
|
-
|
|
1084
|
+
Get Output File
|
|
1085
1085
|
This method makes a synchronous HTTP request by default.
|
|
1086
1086
|
|
|
1087
1087
|
:param str analysis_id: 24-character hex ID (required)
|
|
@@ -1114,7 +1114,7 @@ class AnalysesApi(object):
|
|
|
1114
1114
|
def get_analysis_output_zip_info_with_http_info(self, analysis_id, filename, **kwargs): # noqa: E501
|
|
1115
1115
|
"""Get Output File
|
|
1116
1116
|
|
|
1117
|
-
|
|
1117
|
+
Get Output File
|
|
1118
1118
|
This method makes a synchronous HTTP request by default.
|
|
1119
1119
|
|
|
1120
1120
|
:param str analysis_id: 24-character hex ID (required)
|
|
@@ -1212,7 +1212,7 @@ class AnalysesApi(object):
|
|
|
1212
1212
|
def get_analysis_output_download_ticket(self, analysis_id, filename, **kwargs): # noqa: E501
|
|
1213
1213
|
"""Get Output File
|
|
1214
1214
|
|
|
1215
|
-
|
|
1215
|
+
Get Output File
|
|
1216
1216
|
This method makes a synchronous HTTP request by default.
|
|
1217
1217
|
|
|
1218
1218
|
:param str analysis_id: 24-character hex ID (required)
|
|
@@ -1245,7 +1245,7 @@ class AnalysesApi(object):
|
|
|
1245
1245
|
def get_analysis_output_download_ticket_with_http_info(self, analysis_id, filename, **kwargs): # noqa: E501
|
|
1246
1246
|
"""Get Output File
|
|
1247
1247
|
|
|
1248
|
-
|
|
1248
|
+
Get Output File
|
|
1249
1249
|
This method makes a synchronous HTTP request by default.
|
|
1250
1250
|
|
|
1251
1251
|
:param str analysis_id: 24-character hex ID (required)
|
flywheel/api/containers_api.py
CHANGED
|
@@ -2942,7 +2942,7 @@ class ContainersApi(object):
|
|
|
2942
2942
|
def get_container_analysis(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
2943
2943
|
"""Get an analysis.
|
|
2944
2944
|
|
|
2945
|
-
|
|
2945
|
+
Get an analysis.
|
|
2946
2946
|
This method makes a synchronous HTTP request by default.
|
|
2947
2947
|
|
|
2948
2948
|
:param str cid: (required)
|
|
@@ -2972,7 +2972,7 @@ class ContainersApi(object):
|
|
|
2972
2972
|
def get_container_analysis_with_http_info(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
2973
2973
|
"""Get an analysis.
|
|
2974
2974
|
|
|
2975
|
-
|
|
2975
|
+
Get an analysis.
|
|
2976
2976
|
This method makes a synchronous HTTP request by default.
|
|
2977
2977
|
|
|
2978
2978
|
:param str cid: (required)
|
flywheel/api/projects_api.py
CHANGED
|
@@ -3991,7 +3991,7 @@ class ProjectsApi(object):
|
|
|
3991
3991
|
def get_project_analysis(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
3992
3992
|
"""Get an analysis.
|
|
3993
3993
|
|
|
3994
|
-
|
|
3994
|
+
Get an analysis.
|
|
3995
3995
|
This method makes a synchronous HTTP request by default.
|
|
3996
3996
|
|
|
3997
3997
|
:param str cid: (required)
|
|
@@ -4021,7 +4021,7 @@ class ProjectsApi(object):
|
|
|
4021
4021
|
def get_project_analysis_with_http_info(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
4022
4022
|
"""Get an analysis.
|
|
4023
4023
|
|
|
4024
|
-
|
|
4024
|
+
Get an analysis.
|
|
4025
4025
|
This method makes a synchronous HTTP request by default.
|
|
4026
4026
|
|
|
4027
4027
|
:param str cid: (required)
|
flywheel/api/sessions_api.py
CHANGED
|
@@ -3209,7 +3209,7 @@ class SessionsApi(object):
|
|
|
3209
3209
|
def get_session_analysis(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
3210
3210
|
"""Get an analysis.
|
|
3211
3211
|
|
|
3212
|
-
|
|
3212
|
+
Get an analysis.
|
|
3213
3213
|
This method makes a synchronous HTTP request by default.
|
|
3214
3214
|
|
|
3215
3215
|
:param str cid: (required)
|
|
@@ -3239,7 +3239,7 @@ class SessionsApi(object):
|
|
|
3239
3239
|
def get_session_analysis_with_http_info(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
3240
3240
|
"""Get an analysis.
|
|
3241
3241
|
|
|
3242
|
-
|
|
3242
|
+
Get an analysis.
|
|
3243
3243
|
This method makes a synchronous HTTP request by default.
|
|
3244
3244
|
|
|
3245
3245
|
:param str cid: (required)
|
flywheel/api/site_api.py
CHANGED
|
@@ -240,6 +240,102 @@ class SiteApi(object):
|
|
|
240
240
|
_request_out=params.get('_request_out'),
|
|
241
241
|
collection_formats=collection_formats)
|
|
242
242
|
|
|
243
|
+
def delete_provider(self, provider_id, **kwargs): # noqa: E501
|
|
244
|
+
"""Delete the provider identified by ProviderId
|
|
245
|
+
|
|
246
|
+
Returns an empty 204 response if successful. The provider will be deleted asynchronously; if it is a storage provider, any files on the provider that have been deleted but not yet cleaned up will be hard deleted. Use the `get_provider` operation to check the deletion status.
|
|
247
|
+
This method makes a synchronous HTTP request by default.
|
|
248
|
+
|
|
249
|
+
:param str provider_id: The ID of the provider (required)
|
|
250
|
+
:param bool async_: Perform the request asynchronously
|
|
251
|
+
:return: None
|
|
252
|
+
"""
|
|
253
|
+
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
254
|
+
kwargs['_return_http_data_only'] = True
|
|
255
|
+
|
|
256
|
+
if kwargs.get('async_'):
|
|
257
|
+
return self.delete_provider_with_http_info(provider_id, **kwargs) # noqa: E501
|
|
258
|
+
else:
|
|
259
|
+
(data) = self.delete_provider_with_http_info(provider_id, **kwargs) # noqa: E501
|
|
260
|
+
if (
|
|
261
|
+
data
|
|
262
|
+
and hasattr(data, 'return_value')
|
|
263
|
+
and not ignore_simplified_return_value
|
|
264
|
+
):
|
|
265
|
+
return data.return_value()
|
|
266
|
+
return data
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
def delete_provider_with_http_info(self, provider_id, **kwargs): # noqa: E501
|
|
270
|
+
"""Delete the provider identified by ProviderId
|
|
271
|
+
|
|
272
|
+
Returns an empty 204 response if successful. The provider will be deleted asynchronously; if it is a storage provider, any files on the provider that have been deleted but not yet cleaned up will be hard deleted. Use the `get_provider` operation to check the deletion status.
|
|
273
|
+
This method makes a synchronous HTTP request by default.
|
|
274
|
+
|
|
275
|
+
:param str provider_id: The ID of the provider (required)
|
|
276
|
+
:param bool async_: Perform the request asynchronously
|
|
277
|
+
:return: None
|
|
278
|
+
"""
|
|
279
|
+
|
|
280
|
+
all_params = ['provider_id',] # noqa: E501
|
|
281
|
+
all_params.append('async_')
|
|
282
|
+
all_params.append('_return_http_data_only')
|
|
283
|
+
all_params.append('_preload_content')
|
|
284
|
+
all_params.append('_request_timeout')
|
|
285
|
+
all_params.append('_request_out')
|
|
286
|
+
|
|
287
|
+
params = locals()
|
|
288
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
289
|
+
if key not in all_params:
|
|
290
|
+
raise TypeError(
|
|
291
|
+
"Got an unexpected keyword argument '%s'"
|
|
292
|
+
" to method delete_provider" % key
|
|
293
|
+
)
|
|
294
|
+
params[key] = val
|
|
295
|
+
del params['kwargs']
|
|
296
|
+
# verify the required parameter 'provider_id' is set
|
|
297
|
+
if ('provider_id' not in params or
|
|
298
|
+
params['provider_id'] is None):
|
|
299
|
+
raise ValueError("Missing the required parameter `provider_id` when calling `delete_provider`") # noqa: E501
|
|
300
|
+
|
|
301
|
+
collection_formats = {}
|
|
302
|
+
|
|
303
|
+
path_params = {}
|
|
304
|
+
if 'provider_id' in params:
|
|
305
|
+
path_params['provider_id'] = params['provider_id'] # noqa: E501
|
|
306
|
+
|
|
307
|
+
query_params = []
|
|
308
|
+
|
|
309
|
+
header_params = {}
|
|
310
|
+
|
|
311
|
+
form_params = []
|
|
312
|
+
local_var_files = {}
|
|
313
|
+
|
|
314
|
+
body_params = None
|
|
315
|
+
# HTTP header `Accept`
|
|
316
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
317
|
+
['application/json']) # noqa: E501
|
|
318
|
+
|
|
319
|
+
# Authentication setting
|
|
320
|
+
auth_settings = ['ApiKey'] # noqa: E501
|
|
321
|
+
|
|
322
|
+
return self.api_client.call_api(
|
|
323
|
+
'/site/providers/{provider_id}', 'DELETE',
|
|
324
|
+
path_params,
|
|
325
|
+
query_params,
|
|
326
|
+
header_params,
|
|
327
|
+
body=body_params,
|
|
328
|
+
post_params=form_params,
|
|
329
|
+
files=local_var_files,
|
|
330
|
+
response_type=None, # noqa: E501
|
|
331
|
+
auth_settings=auth_settings,
|
|
332
|
+
async_=params.get('async_'),
|
|
333
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
334
|
+
_preload_content=params.get('_preload_content', True),
|
|
335
|
+
_request_timeout=params.get('_request_timeout'),
|
|
336
|
+
_request_out=params.get('_request_out'),
|
|
337
|
+
collection_formats=collection_formats)
|
|
338
|
+
|
|
243
339
|
def get_bookmark_list(self, **kwargs): # noqa: E501
|
|
244
340
|
"""Get Bookmark List
|
|
245
341
|
|
flywheel/api/subjects_api.py
CHANGED
|
@@ -3175,7 +3175,7 @@ class SubjectsApi(object):
|
|
|
3175
3175
|
def get_subject_analysis(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
3176
3176
|
"""Get an analysis.
|
|
3177
3177
|
|
|
3178
|
-
|
|
3178
|
+
Get an analysis.
|
|
3179
3179
|
This method makes a synchronous HTTP request by default.
|
|
3180
3180
|
|
|
3181
3181
|
:param str cid: (required)
|
|
@@ -3205,7 +3205,7 @@ class SubjectsApi(object):
|
|
|
3205
3205
|
def get_subject_analysis_with_http_info(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
3206
3206
|
"""Get an analysis.
|
|
3207
3207
|
|
|
3208
|
-
|
|
3208
|
+
Get an analysis.
|
|
3209
3209
|
This method makes a synchronous HTTP request by default.
|
|
3210
3210
|
|
|
3211
3211
|
:param str cid: (required)
|
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/18.
|
|
84
|
+
self.user_agent = 'Swagger-Codegen/18.2.0/python'
|
|
85
85
|
self.last_response = None
|
|
86
86
|
self._version_check_fn = None
|
|
87
87
|
self._context = context
|
|
@@ -364,7 +364,7 @@ class ApiClient(object):
|
|
|
364
364
|
_preload_content=True, _request_timeout=None, _request_out=None):
|
|
365
365
|
"""Makes the HTTP request (synchronous) and returns deserialized data.
|
|
366
366
|
|
|
367
|
-
To make an async request, set the async_ parameter.
|
|
367
|
+
To make an async request, set the ``async_`` parameter.
|
|
368
368
|
|
|
369
369
|
:param resource_path: Path to method endpoint.
|
|
370
370
|
:param method: Method to call.
|
|
@@ -392,10 +392,10 @@ class ApiClient(object):
|
|
|
392
392
|
timeout. It can also be a pair (tuple) of
|
|
393
393
|
(connection, read) timeouts.
|
|
394
394
|
:return:
|
|
395
|
-
If async_ parameter is True,
|
|
395
|
+
If ``async_`` parameter is True,
|
|
396
396
|
the request will be called asynchronously.
|
|
397
397
|
The method will return the request thread.
|
|
398
|
-
If parameter async_ is False or missing,
|
|
398
|
+
If parameter ``async_`` is False or missing,
|
|
399
399
|
then the method will return the response directly.
|
|
400
400
|
"""
|
|
401
401
|
if not async_:
|
flywheel/client.py
CHANGED
|
@@ -234,7 +234,7 @@ class Client(object):
|
|
|
234
234
|
return self._fw.data_view_executions
|
|
235
235
|
|
|
236
236
|
def View(self, **kwargs):
|
|
237
|
-
"""Short-hand for flywheel.ViewBuilder(**kwargs).build()
|
|
237
|
+
"""Short-hand for ``flywheel.ViewBuilder(**kwargs).build()``
|
|
238
238
|
|
|
239
239
|
:param kwargs: The arguments to pass directly to ViewBuilder
|
|
240
240
|
:return: The built data view
|
flywheel/configuration.py
CHANGED
|
@@ -253,5 +253,5 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
|
|
|
253
253
|
"OS: {env}\n"\
|
|
254
254
|
"Python Version: {pyversion}\n"\
|
|
255
255
|
"Version of the API: 0.0.1\n"\
|
|
256
|
-
"SDK Package Version: 18.
|
|
256
|
+
"SDK Package Version: 18.2.0".\
|
|
257
257
|
format(env=sys.platform, pyversion=sys.version)
|
flywheel/flywheel.py
CHANGED
|
@@ -39,7 +39,7 @@ from flywheel.view_builder import ViewBuilder
|
|
|
39
39
|
from flywheel.finder import Finder
|
|
40
40
|
import flywheel.api
|
|
41
41
|
|
|
42
|
-
SDK_VERSION = "18.
|
|
42
|
+
SDK_VERSION = "18.2.0"
|
|
43
43
|
|
|
44
44
|
def config_from_api_key(api_key):
|
|
45
45
|
parts = api_key.split(':')
|
|
@@ -573,7 +573,7 @@ class Flywheel:
|
|
|
573
573
|
def get_acquisition_analysis(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
574
574
|
"""Get an analysis.
|
|
575
575
|
|
|
576
|
-
|
|
576
|
+
Get an analysis.
|
|
577
577
|
|
|
578
578
|
:param str cid: (required)
|
|
579
579
|
:param str analysis_id: (required)
|
|
@@ -935,7 +935,7 @@ class Flywheel:
|
|
|
935
935
|
def download_output_from_analysis(self, analysis_id, filename, dest_file, **kwargs): # noqa: E501
|
|
936
936
|
"""Get Output File
|
|
937
937
|
|
|
938
|
-
|
|
938
|
+
Get Output File
|
|
939
939
|
|
|
940
940
|
:param str analysis_id: 24-character hex ID (required)
|
|
941
941
|
:param str filename: output file name (required)
|
|
@@ -954,7 +954,7 @@ class Flywheel:
|
|
|
954
954
|
def get_analysis_output_zip_info(self, analysis_id, filename, **kwargs): # noqa: E501
|
|
955
955
|
"""Get Output File
|
|
956
956
|
|
|
957
|
-
|
|
957
|
+
Get Output File
|
|
958
958
|
|
|
959
959
|
:param str analysis_id: 24-character hex ID (required)
|
|
960
960
|
:param str filename: output file name (required)
|
|
@@ -973,7 +973,7 @@ class Flywheel:
|
|
|
973
973
|
def get_analysis_output_download_url(self, analysis_id, filename, **kwargs): # noqa: E501
|
|
974
974
|
"""Get Output File
|
|
975
975
|
|
|
976
|
-
|
|
976
|
+
Get Output File
|
|
977
977
|
|
|
978
978
|
:param str analysis_id: 24-character hex ID (required)
|
|
979
979
|
:param str filename: output file name (required)
|
|
@@ -2280,7 +2280,7 @@ class Flywheel:
|
|
|
2280
2280
|
def get_container_analysis(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
2281
2281
|
"""Get an analysis.
|
|
2282
2282
|
|
|
2283
|
-
|
|
2283
|
+
Get an analysis.
|
|
2284
2284
|
|
|
2285
2285
|
:param str cid: (required)
|
|
2286
2286
|
:param str analysis_id: (required)
|
|
@@ -4492,7 +4492,7 @@ class Flywheel:
|
|
|
4492
4492
|
def get_project_analysis(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
4493
4493
|
"""Get an analysis.
|
|
4494
4494
|
|
|
4495
|
-
|
|
4495
|
+
Get an analysis.
|
|
4496
4496
|
|
|
4497
4497
|
:param str cid: (required)
|
|
4498
4498
|
:param str analysis_id: (required)
|
|
@@ -5606,7 +5606,7 @@ class Flywheel:
|
|
|
5606
5606
|
def get_session_analysis(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
5607
5607
|
"""Get an analysis.
|
|
5608
5608
|
|
|
5609
|
-
|
|
5609
|
+
Get an analysis.
|
|
5610
5610
|
|
|
5611
5611
|
:param str cid: (required)
|
|
5612
5612
|
:param str analysis_id: (required)
|
|
@@ -5859,6 +5859,18 @@ class Flywheel:
|
|
|
5859
5859
|
return self.site_api.add_site_rule(body, **kwargs)
|
|
5860
5860
|
|
|
5861
5861
|
|
|
5862
|
+
def delete_provider(self, provider_id, **kwargs): # noqa: E501
|
|
5863
|
+
"""Delete the provider identified by ProviderId
|
|
5864
|
+
|
|
5865
|
+
Returns an empty 204 response if successful. The provider will be deleted asynchronously; if it is a storage provider, any files on the provider that have been deleted but not yet cleaned up will be hard deleted. Use the `get_provider` operation to check the deletion status.
|
|
5866
|
+
|
|
5867
|
+
:param str provider_id: The ID of the provider (required)
|
|
5868
|
+
:param bool async_: Perform the request asynchronously
|
|
5869
|
+
:return: None
|
|
5870
|
+
"""
|
|
5871
|
+
return self.site_api.delete_provider(provider_id, **kwargs)
|
|
5872
|
+
|
|
5873
|
+
|
|
5862
5874
|
def get_bookmark_list(self, **kwargs): # noqa: E501
|
|
5863
5875
|
"""Get Bookmark List
|
|
5864
5876
|
|
|
@@ -6447,7 +6459,7 @@ class Flywheel:
|
|
|
6447
6459
|
def get_subject_analysis(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
6448
6460
|
"""Get an analysis.
|
|
6449
6461
|
|
|
6450
|
-
|
|
6462
|
+
Get an analysis.
|
|
6451
6463
|
|
|
6452
6464
|
:param str cid: (required)
|
|
6453
6465
|
:param str analysis_id: (required)
|
|
@@ -7681,7 +7693,7 @@ class Flywheel:
|
|
|
7681
7693
|
def download_output_from_analysis_as_data(self, analysis_id, filename, **kwargs):
|
|
7682
7694
|
"""Get Output File
|
|
7683
7695
|
|
|
7684
|
-
|
|
7696
|
+
Get Output File
|
|
7685
7697
|
|
|
7686
7698
|
:param str analysis_id: 24-character hex ID (required)
|
|
7687
7699
|
:param str filename: output file name (required)
|
|
@@ -8518,7 +8530,7 @@ class Flywheel:
|
|
|
8518
8530
|
|
|
8519
8531
|
|
|
8520
8532
|
def View(self, **kwargs):
|
|
8521
|
-
"""Short-hand for flywheel.ViewBuilder(**kwargs).build()
|
|
8533
|
+
"""Short-hand for ``flywheel.ViewBuilder(**kwargs).build()``
|
|
8522
8534
|
|
|
8523
8535
|
:param kwargs: The arguments to pass directly to ViewBuilder
|
|
8524
8536
|
:return: The built data view
|
flywheel/gear_context.py
CHANGED
|
@@ -154,7 +154,7 @@ class GearContext(object):
|
|
|
154
154
|
|
|
155
155
|
:param str name: The name of the input
|
|
156
156
|
:param str mode: The open mode (default is 'r')
|
|
157
|
-
:param
|
|
157
|
+
:param ``**kwargs``: Additional args to pass to ``open``
|
|
158
158
|
:return: The file object
|
|
159
159
|
:rtype: file
|
|
160
160
|
"""
|
|
@@ -169,7 +169,7 @@ class GearContext(object):
|
|
|
169
169
|
|
|
170
170
|
:param str name: The name of the output
|
|
171
171
|
:param str mode: The open mode (default is 'w')
|
|
172
|
-
:param
|
|
172
|
+
:param ``**kwargs``: Additional args to pass to ``open``
|
|
173
173
|
:return: The file object
|
|
174
174
|
:rtype: file
|
|
175
175
|
"""
|
|
@@ -201,8 +201,8 @@ class GearContext(object):
|
|
|
201
201
|
if using this as a context manager, when the context is exited.
|
|
202
202
|
|
|
203
203
|
:param str container_type: The container type (e.g. session or acquisition)
|
|
204
|
-
:param
|
|
205
|
-
:param
|
|
204
|
+
:param ``*args``: The optional update dictionary
|
|
205
|
+
:param ``**kwargs``: The optional update key-value pairs
|
|
206
206
|
"""
|
|
207
207
|
update = self._create_update_dict(args, kwargs)
|
|
208
208
|
self._update_metadata(container_type, update)
|
|
@@ -216,8 +216,8 @@ class GearContext(object):
|
|
|
216
216
|
if using this as a context manager, when the context is exited.
|
|
217
217
|
|
|
218
218
|
:param str file_name: The name of the file
|
|
219
|
-
:param
|
|
220
|
-
:param
|
|
219
|
+
:param ``*args``: The optional update dictionary
|
|
220
|
+
:param ``**kwargs``: The optional update key-value pairs
|
|
221
221
|
"""
|
|
222
222
|
container_type = self.destination["type"]
|
|
223
223
|
update = self._create_update_dict(args, kwargs)
|
|
@@ -231,8 +231,8 @@ class GearContext(object):
|
|
|
231
231
|
The metadata will be written when write_metadata() is called, or
|
|
232
232
|
if using this as a context manager, when the context is exited.
|
|
233
233
|
|
|
234
|
-
:param
|
|
235
|
-
:param
|
|
234
|
+
:param ``*args``: The optional update dictionary
|
|
235
|
+
:param ``**kwargs``: The optional update key-value pairs
|
|
236
236
|
"""
|
|
237
237
|
container_type = self.destination["type"]
|
|
238
238
|
update = self._create_update_dict(args, kwargs)
|
|
@@ -254,7 +254,7 @@ class GearContext(object):
|
|
|
254
254
|
:param str target_dir: The destination directory (otherwise work/bids will be used)
|
|
255
255
|
:param bool src_data: Whether or not to include src data (e.g. dicoms)
|
|
256
256
|
:param list folders: The list of folders to include (otherwise all folders) e.g. ['anat', 'func']
|
|
257
|
-
:param
|
|
257
|
+
:param ``**kwargs``: Additional arguments to pass to ``download_bids_dir``
|
|
258
258
|
:return: The absolute path to the downloaded bids directory
|
|
259
259
|
:rtype: str
|
|
260
260
|
"""
|
|
@@ -278,7 +278,7 @@ class GearContext(object):
|
|
|
278
278
|
:param list subjects: The list of subjects to include (via subject code) otherwise all subjects
|
|
279
279
|
:param list sessions: The list of sessions to include (via session label) otherwise all sessions
|
|
280
280
|
:param list folders: The list of folders to include (otherwise all folders) e.g. ['anat', 'func']
|
|
281
|
-
:param
|
|
281
|
+
:param ``**kwargs``: Additional arguments to pass to ``download_bids_dir``
|
|
282
282
|
:return: The absolute path to the downloaded bids directory
|
|
283
283
|
:rtype: str
|
|
284
284
|
"""
|
flywheel/models/__init__.py
CHANGED
|
@@ -88,7 +88,6 @@ from flywheel.models.change import Change
|
|
|
88
88
|
from flywheel.models.change_log_container_type import ChangeLogContainerType
|
|
89
89
|
from flywheel.models.change_log_document import ChangeLogDocument
|
|
90
90
|
from flywheel.models.change_method import ChangeMethod
|
|
91
|
-
from flywheel.models.channel import Channel
|
|
92
91
|
from flywheel.models.classic_batch_job_output import ClassicBatchJobOutput
|
|
93
92
|
from flywheel.models.classic_batch_job_output_inflated_jobs import ClassicBatchJobOutputInflatedJobs
|
|
94
93
|
from flywheel.models.classic_batch_proposal_input import ClassicBatchProposalInput
|
|
@@ -406,7 +405,6 @@ from flywheel.models.modality_output import ModalityOutput
|
|
|
406
405
|
from flywheel.models.modified_result import ModifiedResult
|
|
407
406
|
from flywheel.models.modify_report_input import ModifyReportInput
|
|
408
407
|
from flywheel.models.modify_user_input import ModifyUserInput
|
|
409
|
-
from flywheel.models.multifactor_account import MultifactorAccount
|
|
410
408
|
from flywheel.models.note import Note
|
|
411
409
|
from flywheel.models.note_input import NoteInput
|
|
412
410
|
from flywheel.models.open_tracing import OpenTracing
|
|
@@ -485,6 +483,7 @@ from flywheel.models.project_upsert_origin import ProjectUpsertOrigin
|
|
|
485
483
|
from flywheel.models.provider import Provider
|
|
486
484
|
from flywheel.models.provider_access_type import ProviderAccessType
|
|
487
485
|
from flywheel.models.provider_class import ProviderClass
|
|
486
|
+
from flywheel.models.provider_deletion_status import ProviderDeletionStatus
|
|
488
487
|
from flywheel.models.provider_input import ProviderInput
|
|
489
488
|
from flywheel.models.provider_links import ProviderLinks
|
|
490
489
|
from flywheel.models.provider_type import ProviderType
|
|
@@ -534,6 +533,7 @@ from flywheel.models.roles_role_assignment import RolesRoleAssignment
|
|
|
534
533
|
from flywheel.models.roles_role_input import RolesRoleInput
|
|
535
534
|
from flywheel.models.rule import Rule
|
|
536
535
|
from flywheel.models.rule_any import RuleAny
|
|
536
|
+
from flywheel.models.s3_addressing_style import S3AddressingStyle
|
|
537
537
|
from flywheel.models.s3_compat_storage import S3CompatStorage
|
|
538
538
|
from flywheel.models.save_search import SaveSearch
|
|
539
539
|
from flywheel.models.save_search_input import SaveSearchInput
|
|
@@ -28,7 +28,8 @@ class Auth0AuthOut(object):
|
|
|
28
28
|
'audience': 'list[str]',
|
|
29
29
|
'claim_namespace': 'str',
|
|
30
30
|
'jwks': 'dict(str, object)',
|
|
31
|
-
'options': 'Auth0OptionsOut'
|
|
31
|
+
'options': 'Auth0OptionsOut',
|
|
32
|
+
'cookie_domain': 'str'
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
attribute_map = {
|
|
@@ -37,7 +38,8 @@ class Auth0AuthOut(object):
|
|
|
37
38
|
'audience': 'audience',
|
|
38
39
|
'claim_namespace': 'claim_namespace',
|
|
39
40
|
'jwks': 'jwks',
|
|
40
|
-
'options': 'options'
|
|
41
|
+
'options': 'options',
|
|
42
|
+
'cookie_domain': 'cookie_domain'
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
rattribute_map = {
|
|
@@ -46,10 +48,11 @@ class Auth0AuthOut(object):
|
|
|
46
48
|
'audience': 'audience',
|
|
47
49
|
'claim_namespace': 'claim_namespace',
|
|
48
50
|
'jwks': 'jwks',
|
|
49
|
-
'options': 'options'
|
|
51
|
+
'options': 'options',
|
|
52
|
+
'cookie_domain': 'cookie_domain'
|
|
50
53
|
}
|
|
51
54
|
|
|
52
|
-
def __init__(self, client_id=None, domain=None, audience=None, claim_namespace=None, jwks=None, options=None): # noqa: E501
|
|
55
|
+
def __init__(self, client_id=None, domain=None, audience=None, claim_namespace=None, jwks=None, options=None, cookie_domain=None): # noqa: E501
|
|
53
56
|
"""Auth0AuthOut - a model defined in Swagger"""
|
|
54
57
|
super(Auth0AuthOut, self).__init__()
|
|
55
58
|
|
|
@@ -59,6 +62,7 @@ class Auth0AuthOut(object):
|
|
|
59
62
|
self._claim_namespace = None
|
|
60
63
|
self._jwks = None
|
|
61
64
|
self._options = None
|
|
65
|
+
self._cookie_domain = None
|
|
62
66
|
self.discriminator = None
|
|
63
67
|
self.alt_discriminator = None
|
|
64
68
|
|
|
@@ -68,6 +72,8 @@ class Auth0AuthOut(object):
|
|
|
68
72
|
self.claim_namespace = claim_namespace
|
|
69
73
|
self.jwks = jwks
|
|
70
74
|
self.options = options
|
|
75
|
+
if cookie_domain is not None:
|
|
76
|
+
self.cookie_domain = cookie_domain
|
|
71
77
|
|
|
72
78
|
@property
|
|
73
79
|
def client_id(self):
|
|
@@ -195,6 +201,27 @@ class Auth0AuthOut(object):
|
|
|
195
201
|
|
|
196
202
|
self._options = options
|
|
197
203
|
|
|
204
|
+
@property
|
|
205
|
+
def cookie_domain(self):
|
|
206
|
+
"""Gets the cookie_domain of this Auth0AuthOut.
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
:return: The cookie_domain of this Auth0AuthOut.
|
|
210
|
+
:rtype: str
|
|
211
|
+
"""
|
|
212
|
+
return self._cookie_domain
|
|
213
|
+
|
|
214
|
+
@cookie_domain.setter
|
|
215
|
+
def cookie_domain(self, cookie_domain):
|
|
216
|
+
"""Sets the cookie_domain of this Auth0AuthOut.
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
:param cookie_domain: The cookie_domain of this Auth0AuthOut. # noqa: E501
|
|
220
|
+
:type: str
|
|
221
|
+
"""
|
|
222
|
+
|
|
223
|
+
self._cookie_domain = cookie_domain
|
|
224
|
+
|
|
198
225
|
|
|
199
226
|
@staticmethod
|
|
200
227
|
def positional_to_model(value):
|