flywheel-sdk 20.0.0rc0__py2.py3-none-any.whl → 20.1.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 +1 -0
- flywheel/api/acquisitions_api.py +2 -2
- flywheel/api/analyses_api.py +2 -2
- flywheel/api/collections_api.py +2 -2
- flywheel/api/dataexplorer_api.py +109 -0
- flywheel/api/files_api.py +2 -2
- flywheel/api/groups_api.py +2 -2
- flywheel/api/jobs_api.py +211 -0
- flywheel/api/projects_api.py +2 -2
- flywheel/api/resolve_api.py +10 -2
- flywheel/api/sessions_api.py +2 -2
- flywheel/api/subjects_api.py +2 -2
- flywheel/api_client.py +1 -1
- flywheel/configuration.py +2 -2
- flywheel/flywheel.py +44 -9
- flywheel/models/__init__.py +2 -1
- flywheel/models/action.py +4 -0
- flywheel/models/delete_by_search_query.py +251 -0
- flywheel/models/features.py +58 -4
- flywheel/models/search_query.py +30 -30
- {flywheel_sdk-20.0.0rc0.dist-info → flywheel_sdk-20.1.0rc0.dist-info}/METADATA +1 -1
- {flywheel_sdk-20.0.0rc0.dist-info → flywheel_sdk-20.1.0rc0.dist-info}/RECORD +25 -24
- {flywheel_sdk-20.0.0rc0.dist-info → flywheel_sdk-20.1.0rc0.dist-info}/LICENSE.txt +0 -0
- {flywheel_sdk-20.0.0rc0.dist-info → flywheel_sdk-20.1.0rc0.dist-info}/WHEEL +0 -0
- {flywheel_sdk-20.0.0rc0.dist-info → flywheel_sdk-20.1.0rc0.dist-info}/top_level.txt +0 -0
flywheel/__init__.py
CHANGED
|
@@ -224,6 +224,7 @@ from flywheel.models.data_view_save_data_view_input import DataViewSaveDataViewI
|
|
|
224
224
|
from flywheel.models.data_view_zip_filter_spec import DataViewZipFilterSpec
|
|
225
225
|
from flywheel.models.default_flywheel_role import DefaultFlywheelRole
|
|
226
226
|
from flywheel.models.deid_log_skip_reason import DeidLogSkipReason
|
|
227
|
+
from flywheel.models.delete_by_search_query import DeleteBySearchQuery
|
|
227
228
|
from flywheel.models.deleted_file import DeletedFile
|
|
228
229
|
from flywheel.models.deleted_result import DeletedResult
|
|
229
230
|
from flywheel.models.deprecated_action import DeprecatedAction
|
flywheel/api/acquisitions_api.py
CHANGED
|
@@ -1576,7 +1576,7 @@ class AcquisitionsApi(object):
|
|
|
1576
1576
|
collection_formats=collection_formats)
|
|
1577
1577
|
|
|
1578
1578
|
def delete_acquisitions_by_query(self, body, **kwargs): # noqa: E501
|
|
1579
|
-
"""Delete multiple acquisitions by query
|
|
1579
|
+
"""*DEPRECATED* Delete multiple acquisitions by query
|
|
1580
1580
|
|
|
1581
1581
|
Delete multiple acquisitions by query
|
|
1582
1582
|
This method makes a synchronous HTTP request by default.
|
|
@@ -1603,7 +1603,7 @@ class AcquisitionsApi(object):
|
|
|
1603
1603
|
|
|
1604
1604
|
|
|
1605
1605
|
def delete_acquisitions_by_query_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1606
|
-
"""Delete multiple acquisitions by query
|
|
1606
|
+
"""*DEPRECATED* Delete multiple acquisitions by query
|
|
1607
1607
|
|
|
1608
1608
|
Delete multiple acquisitions by query
|
|
1609
1609
|
This method makes a synchronous HTTP request by default.
|
flywheel/api/analyses_api.py
CHANGED
|
@@ -365,7 +365,7 @@ class AnalysesApi(object):
|
|
|
365
365
|
collection_formats=collection_formats)
|
|
366
366
|
|
|
367
367
|
def delete_analyses_by_query(self, body, **kwargs): # noqa: E501
|
|
368
|
-
"""Delete multiple analyses by query
|
|
368
|
+
"""*DEPRECATED* Delete multiple analyses by query
|
|
369
369
|
|
|
370
370
|
Delete multiple analyses by query
|
|
371
371
|
This method makes a synchronous HTTP request by default.
|
|
@@ -392,7 +392,7 @@ class AnalysesApi(object):
|
|
|
392
392
|
|
|
393
393
|
|
|
394
394
|
def delete_analyses_by_query_with_http_info(self, body, **kwargs): # noqa: E501
|
|
395
|
-
"""Delete multiple analyses by query
|
|
395
|
+
"""*DEPRECATED* Delete multiple analyses by query
|
|
396
396
|
|
|
397
397
|
Delete multiple analyses by query
|
|
398
398
|
This method makes a synchronous HTTP request by default.
|
flywheel/api/collections_api.py
CHANGED
|
@@ -1323,7 +1323,7 @@ class CollectionsApi(object):
|
|
|
1323
1323
|
collection_formats=collection_formats)
|
|
1324
1324
|
|
|
1325
1325
|
def delete_collections_by_query(self, body, **kwargs): # noqa: E501
|
|
1326
|
-
"""Delete multiple collections by query
|
|
1326
|
+
"""*DEPRECATED* Delete multiple collections by query
|
|
1327
1327
|
|
|
1328
1328
|
Delete multiple collections by query
|
|
1329
1329
|
This method makes a synchronous HTTP request by default.
|
|
@@ -1350,7 +1350,7 @@ class CollectionsApi(object):
|
|
|
1350
1350
|
|
|
1351
1351
|
|
|
1352
1352
|
def delete_collections_by_query_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1353
|
-
"""Delete multiple collections by query
|
|
1353
|
+
"""*DEPRECATED* Delete multiple collections by query
|
|
1354
1354
|
|
|
1355
1355
|
Delete multiple collections by query
|
|
1356
1356
|
This method makes a synchronous HTTP request by default.
|
flywheel/api/dataexplorer_api.py
CHANGED
|
@@ -30,6 +30,115 @@ class DataexplorerApi(object):
|
|
|
30
30
|
api_client = ApiClient()
|
|
31
31
|
self.api_client = api_client
|
|
32
32
|
|
|
33
|
+
def delete_by_search(self, body, **kwargs): # noqa: E501
|
|
34
|
+
"""Delete containers by a search query
|
|
35
|
+
|
|
36
|
+
This method makes a synchronous HTTP request by default.
|
|
37
|
+
|
|
38
|
+
:param DeleteBySearchQuery body: (required)
|
|
39
|
+
:param ContainerDeleteReason delete_reason:
|
|
40
|
+
:param bool async_: Perform the request asynchronously
|
|
41
|
+
:return: DeletedResult
|
|
42
|
+
"""
|
|
43
|
+
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
44
|
+
kwargs['_return_http_data_only'] = True
|
|
45
|
+
|
|
46
|
+
if kwargs.get('async_'):
|
|
47
|
+
return self.delete_by_search_with_http_info(body, **kwargs) # noqa: E501
|
|
48
|
+
else:
|
|
49
|
+
(data) = self.delete_by_search_with_http_info(body, **kwargs) # noqa: E501
|
|
50
|
+
if (
|
|
51
|
+
data
|
|
52
|
+
and hasattr(data, 'return_value')
|
|
53
|
+
and not ignore_simplified_return_value
|
|
54
|
+
):
|
|
55
|
+
return data.return_value()
|
|
56
|
+
return data
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def delete_by_search_with_http_info(self, body, **kwargs): # noqa: E501
|
|
60
|
+
"""Delete containers by a search query
|
|
61
|
+
|
|
62
|
+
This method makes a synchronous HTTP request by default.
|
|
63
|
+
|
|
64
|
+
:param DeleteBySearchQuery body: (required)
|
|
65
|
+
:param ContainerDeleteReason delete_reason:
|
|
66
|
+
:param bool async_: Perform the request asynchronously
|
|
67
|
+
:return: DeletedResult
|
|
68
|
+
"""
|
|
69
|
+
|
|
70
|
+
all_params = ['body','delete_reason',] # noqa: E501
|
|
71
|
+
all_params.append('async_')
|
|
72
|
+
all_params.append('_return_http_data_only')
|
|
73
|
+
all_params.append('_preload_content')
|
|
74
|
+
all_params.append('_request_timeout')
|
|
75
|
+
all_params.append('_request_out')
|
|
76
|
+
|
|
77
|
+
params = locals()
|
|
78
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
79
|
+
if key not in all_params:
|
|
80
|
+
raise TypeError(
|
|
81
|
+
"Got an unexpected keyword argument '%s'"
|
|
82
|
+
" to method delete_by_search" % key
|
|
83
|
+
)
|
|
84
|
+
params[key] = val
|
|
85
|
+
del params['kwargs']
|
|
86
|
+
# verify the required parameter 'body' is set
|
|
87
|
+
if ('body' not in params or
|
|
88
|
+
params['body'] is None):
|
|
89
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_by_search`") # noqa: E501
|
|
90
|
+
|
|
91
|
+
collection_formats = {}
|
|
92
|
+
|
|
93
|
+
path_params = {}
|
|
94
|
+
|
|
95
|
+
query_params = []
|
|
96
|
+
if 'delete_reason' in params:
|
|
97
|
+
query_params.append(('delete_reason', params['delete_reason'])) # noqa: E501
|
|
98
|
+
|
|
99
|
+
header_params = {}
|
|
100
|
+
|
|
101
|
+
form_params = []
|
|
102
|
+
local_var_files = {}
|
|
103
|
+
|
|
104
|
+
body_params = None
|
|
105
|
+
if 'body' in params:
|
|
106
|
+
if 'DeleteBySearchQuery'.startswith('union'):
|
|
107
|
+
body_type = type(params['body'])
|
|
108
|
+
if getattr(body_type, 'positional_to_model', None):
|
|
109
|
+
body_params = body_type.positional_to_model(params['body'])
|
|
110
|
+
else:
|
|
111
|
+
body_params = params['body']
|
|
112
|
+
else:
|
|
113
|
+
body_params = flywheel.models.DeleteBySearchQuery.positional_to_model(params['body'])
|
|
114
|
+
# HTTP header `Accept`
|
|
115
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
116
|
+
['application/json']) # noqa: E501
|
|
117
|
+
|
|
118
|
+
# HTTP header `Content-Type`
|
|
119
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
120
|
+
['application/json']) # noqa: E501
|
|
121
|
+
|
|
122
|
+
# Authentication setting
|
|
123
|
+
auth_settings = ['ApiKey'] # noqa: E501
|
|
124
|
+
|
|
125
|
+
return self.api_client.call_api(
|
|
126
|
+
'/dataexplorer/search', 'DELETE',
|
|
127
|
+
path_params,
|
|
128
|
+
query_params,
|
|
129
|
+
header_params,
|
|
130
|
+
body=body_params,
|
|
131
|
+
post_params=form_params,
|
|
132
|
+
files=local_var_files,
|
|
133
|
+
response_type='DeletedResult', # noqa: E501
|
|
134
|
+
auth_settings=auth_settings,
|
|
135
|
+
async_=params.get('async_'),
|
|
136
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
137
|
+
_preload_content=params.get('_preload_content', True),
|
|
138
|
+
_request_timeout=params.get('_request_timeout'),
|
|
139
|
+
_request_out=params.get('_request_out'),
|
|
140
|
+
collection_formats=collection_formats)
|
|
141
|
+
|
|
33
142
|
def delete_save_search(self, search_id, **kwargs): # noqa: E501
|
|
34
143
|
"""Delete a saved search
|
|
35
144
|
|
flywheel/api/files_api.py
CHANGED
|
@@ -455,7 +455,7 @@ class FilesApi(object):
|
|
|
455
455
|
collection_formats=collection_formats)
|
|
456
456
|
|
|
457
457
|
def delete_files_by_query(self, body, **kwargs): # noqa: E501
|
|
458
|
-
"""Delete multiple files by query
|
|
458
|
+
"""*DEPRECATED* Delete multiple files by query
|
|
459
459
|
|
|
460
460
|
Delete multiple files by query
|
|
461
461
|
This method makes a synchronous HTTP request by default.
|
|
@@ -482,7 +482,7 @@ class FilesApi(object):
|
|
|
482
482
|
|
|
483
483
|
|
|
484
484
|
def delete_files_by_query_with_http_info(self, body, **kwargs): # noqa: E501
|
|
485
|
-
"""Delete multiple files by query
|
|
485
|
+
"""*DEPRECATED* Delete multiple files by query
|
|
486
486
|
|
|
487
487
|
Delete multiple files by query
|
|
488
488
|
This method makes a synchronous HTTP request by default.
|
flywheel/api/groups_api.py
CHANGED
|
@@ -1344,7 +1344,7 @@ class GroupsApi(object):
|
|
|
1344
1344
|
collection_formats=collection_formats)
|
|
1345
1345
|
|
|
1346
1346
|
def delete_groups_by_query(self, body, **kwargs): # noqa: E501
|
|
1347
|
-
"""Delete multiple groups by query
|
|
1347
|
+
"""*DEPRECATED* Delete multiple groups by query
|
|
1348
1348
|
|
|
1349
1349
|
Delete multiple groups by query
|
|
1350
1350
|
This method makes a synchronous HTTP request by default.
|
|
@@ -1371,7 +1371,7 @@ class GroupsApi(object):
|
|
|
1371
1371
|
|
|
1372
1372
|
|
|
1373
1373
|
def delete_groups_by_query_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1374
|
-
"""Delete multiple groups by query
|
|
1374
|
+
"""*DEPRECATED* Delete multiple groups by query
|
|
1375
1375
|
|
|
1376
1376
|
Delete multiple groups by query
|
|
1377
1377
|
This method makes a synchronous HTTP request by default.
|
flywheel/api/jobs_api.py
CHANGED
|
@@ -687,6 +687,217 @@ class JobsApi(object):
|
|
|
687
687
|
_request_out=params.get('_request_out'),
|
|
688
688
|
collection_formats=collection_formats)
|
|
689
689
|
|
|
690
|
+
def engine_complete_job(self, job_id, body, **kwargs): # noqa: E501
|
|
691
|
+
"""Complete a job, with information.
|
|
692
|
+
|
|
693
|
+
This method makes a synchronous HTTP request by default.
|
|
694
|
+
|
|
695
|
+
:param str job_id: (required)
|
|
696
|
+
:param JobComplete body: (required)
|
|
697
|
+
:param str job_ticket_id: ticket id for job completion
|
|
698
|
+
:param bool async_: Perform the request asynchronously
|
|
699
|
+
:return: None
|
|
700
|
+
"""
|
|
701
|
+
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
702
|
+
kwargs['_return_http_data_only'] = True
|
|
703
|
+
|
|
704
|
+
if kwargs.get('async_'):
|
|
705
|
+
return self.engine_complete_job_with_http_info(job_id, body, **kwargs) # noqa: E501
|
|
706
|
+
else:
|
|
707
|
+
(data) = self.engine_complete_job_with_http_info(job_id, body, **kwargs) # noqa: E501
|
|
708
|
+
if (
|
|
709
|
+
data
|
|
710
|
+
and hasattr(data, 'return_value')
|
|
711
|
+
and not ignore_simplified_return_value
|
|
712
|
+
):
|
|
713
|
+
return data.return_value()
|
|
714
|
+
return data
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
def engine_complete_job_with_http_info(self, job_id, body, **kwargs): # noqa: E501
|
|
718
|
+
"""Complete a job, with information.
|
|
719
|
+
|
|
720
|
+
This method makes a synchronous HTTP request by default.
|
|
721
|
+
|
|
722
|
+
:param str job_id: (required)
|
|
723
|
+
:param JobComplete body: (required)
|
|
724
|
+
:param str job_ticket_id: ticket id for job completion
|
|
725
|
+
:param bool async_: Perform the request asynchronously
|
|
726
|
+
:return: None
|
|
727
|
+
"""
|
|
728
|
+
|
|
729
|
+
all_params = ['job_id','body','job_ticket_id',] # noqa: E501
|
|
730
|
+
all_params.append('async_')
|
|
731
|
+
all_params.append('_return_http_data_only')
|
|
732
|
+
all_params.append('_preload_content')
|
|
733
|
+
all_params.append('_request_timeout')
|
|
734
|
+
all_params.append('_request_out')
|
|
735
|
+
|
|
736
|
+
params = locals()
|
|
737
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
738
|
+
if key not in all_params:
|
|
739
|
+
raise TypeError(
|
|
740
|
+
"Got an unexpected keyword argument '%s'"
|
|
741
|
+
" to method engine_complete_job" % key
|
|
742
|
+
)
|
|
743
|
+
params[key] = val
|
|
744
|
+
del params['kwargs']
|
|
745
|
+
# verify the required parameter 'job_id' is set
|
|
746
|
+
if ('job_id' not in params or
|
|
747
|
+
params['job_id'] is None):
|
|
748
|
+
raise ValueError("Missing the required parameter `job_id` when calling `engine_complete_job`") # noqa: E501
|
|
749
|
+
# verify the required parameter 'body' is set
|
|
750
|
+
if ('body' not in params or
|
|
751
|
+
params['body'] is None):
|
|
752
|
+
raise ValueError("Missing the required parameter `body` when calling `engine_complete_job`") # noqa: E501
|
|
753
|
+
|
|
754
|
+
collection_formats = {}
|
|
755
|
+
|
|
756
|
+
path_params = {}
|
|
757
|
+
if 'job_id' in params:
|
|
758
|
+
path_params['job_id'] = params['job_id'] # noqa: E501
|
|
759
|
+
|
|
760
|
+
query_params = []
|
|
761
|
+
if 'job_ticket_id' in params:
|
|
762
|
+
query_params.append(('job_ticket_id', params['job_ticket_id'])) # noqa: E501
|
|
763
|
+
|
|
764
|
+
header_params = {}
|
|
765
|
+
|
|
766
|
+
form_params = []
|
|
767
|
+
local_var_files = {}
|
|
768
|
+
|
|
769
|
+
body_params = None
|
|
770
|
+
if 'body' in params:
|
|
771
|
+
if 'JobComplete'.startswith('union'):
|
|
772
|
+
body_type = type(params['body'])
|
|
773
|
+
if getattr(body_type, 'positional_to_model', None):
|
|
774
|
+
body_params = body_type.positional_to_model(params['body'])
|
|
775
|
+
else:
|
|
776
|
+
body_params = params['body']
|
|
777
|
+
else:
|
|
778
|
+
body_params = flywheel.models.JobComplete.positional_to_model(params['body'])
|
|
779
|
+
# HTTP header `Accept`
|
|
780
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
781
|
+
['application/json']) # noqa: E501
|
|
782
|
+
|
|
783
|
+
# HTTP header `Content-Type`
|
|
784
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
785
|
+
['application/json']) # noqa: E501
|
|
786
|
+
|
|
787
|
+
# Authentication setting
|
|
788
|
+
auth_settings = ['ApiKey'] # noqa: E501
|
|
789
|
+
|
|
790
|
+
return self.api_client.call_api(
|
|
791
|
+
'/jobs/{job_id}/complete', 'PUT',
|
|
792
|
+
path_params,
|
|
793
|
+
query_params,
|
|
794
|
+
header_params,
|
|
795
|
+
body=body_params,
|
|
796
|
+
post_params=form_params,
|
|
797
|
+
files=local_var_files,
|
|
798
|
+
response_type=None, # noqa: E501
|
|
799
|
+
auth_settings=auth_settings,
|
|
800
|
+
async_=params.get('async_'),
|
|
801
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
802
|
+
_preload_content=params.get('_preload_content', True),
|
|
803
|
+
_request_timeout=params.get('_request_timeout'),
|
|
804
|
+
_request_out=params.get('_request_out'),
|
|
805
|
+
collection_formats=collection_formats)
|
|
806
|
+
|
|
807
|
+
def engine_prepare_complete_job(self, job_id, **kwargs): # noqa: E501
|
|
808
|
+
"""Create a ticket for completing a job, with id and status.
|
|
809
|
+
|
|
810
|
+
This method makes a synchronous HTTP request by default.
|
|
811
|
+
|
|
812
|
+
:param str job_id: (required)
|
|
813
|
+
:param bool async_: Perform the request asynchronously
|
|
814
|
+
:return: JobTicketOutput
|
|
815
|
+
"""
|
|
816
|
+
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
817
|
+
kwargs['_return_http_data_only'] = True
|
|
818
|
+
|
|
819
|
+
if kwargs.get('async_'):
|
|
820
|
+
return self.engine_prepare_complete_job_with_http_info(job_id, **kwargs) # noqa: E501
|
|
821
|
+
else:
|
|
822
|
+
(data) = self.engine_prepare_complete_job_with_http_info(job_id, **kwargs) # noqa: E501
|
|
823
|
+
if (
|
|
824
|
+
data
|
|
825
|
+
and hasattr(data, 'return_value')
|
|
826
|
+
and not ignore_simplified_return_value
|
|
827
|
+
):
|
|
828
|
+
return data.return_value()
|
|
829
|
+
return data
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
def engine_prepare_complete_job_with_http_info(self, job_id, **kwargs): # noqa: E501
|
|
833
|
+
"""Create a ticket for completing a job, with id and status.
|
|
834
|
+
|
|
835
|
+
This method makes a synchronous HTTP request by default.
|
|
836
|
+
|
|
837
|
+
:param str job_id: (required)
|
|
838
|
+
:param bool async_: Perform the request asynchronously
|
|
839
|
+
:return: JobTicketOutput
|
|
840
|
+
"""
|
|
841
|
+
|
|
842
|
+
all_params = ['job_id',] # noqa: E501
|
|
843
|
+
all_params.append('async_')
|
|
844
|
+
all_params.append('_return_http_data_only')
|
|
845
|
+
all_params.append('_preload_content')
|
|
846
|
+
all_params.append('_request_timeout')
|
|
847
|
+
all_params.append('_request_out')
|
|
848
|
+
|
|
849
|
+
params = locals()
|
|
850
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
851
|
+
if key not in all_params:
|
|
852
|
+
raise TypeError(
|
|
853
|
+
"Got an unexpected keyword argument '%s'"
|
|
854
|
+
" to method engine_prepare_complete_job" % key
|
|
855
|
+
)
|
|
856
|
+
params[key] = val
|
|
857
|
+
del params['kwargs']
|
|
858
|
+
# verify the required parameter 'job_id' is set
|
|
859
|
+
if ('job_id' not in params or
|
|
860
|
+
params['job_id'] is None):
|
|
861
|
+
raise ValueError("Missing the required parameter `job_id` when calling `engine_prepare_complete_job`") # noqa: E501
|
|
862
|
+
|
|
863
|
+
collection_formats = {}
|
|
864
|
+
|
|
865
|
+
path_params = {}
|
|
866
|
+
if 'job_id' in params:
|
|
867
|
+
path_params['job_id'] = params['job_id'] # noqa: E501
|
|
868
|
+
|
|
869
|
+
query_params = []
|
|
870
|
+
|
|
871
|
+
header_params = {}
|
|
872
|
+
|
|
873
|
+
form_params = []
|
|
874
|
+
local_var_files = {}
|
|
875
|
+
|
|
876
|
+
body_params = None
|
|
877
|
+
# HTTP header `Accept`
|
|
878
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
879
|
+
['application/json']) # noqa: E501
|
|
880
|
+
|
|
881
|
+
# Authentication setting
|
|
882
|
+
auth_settings = ['ApiKey'] # noqa: E501
|
|
883
|
+
|
|
884
|
+
return self.api_client.call_api(
|
|
885
|
+
'/jobs/{job_id}/prepare-complete', 'PUT',
|
|
886
|
+
path_params,
|
|
887
|
+
query_params,
|
|
888
|
+
header_params,
|
|
889
|
+
body=body_params,
|
|
890
|
+
post_params=form_params,
|
|
891
|
+
files=local_var_files,
|
|
892
|
+
response_type='JobTicketOutput', # noqa: E501
|
|
893
|
+
auth_settings=auth_settings,
|
|
894
|
+
async_=params.get('async_'),
|
|
895
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
896
|
+
_preload_content=params.get('_preload_content', True),
|
|
897
|
+
_request_timeout=params.get('_request_timeout'),
|
|
898
|
+
_request_out=params.get('_request_out'),
|
|
899
|
+
collection_formats=collection_formats)
|
|
900
|
+
|
|
690
901
|
def get_all_jobs(self, **kwargs): # noqa: E501
|
|
691
902
|
"""Return all jobs
|
|
692
903
|
|
flywheel/api/projects_api.py
CHANGED
|
@@ -2037,7 +2037,7 @@ class ProjectsApi(object):
|
|
|
2037
2037
|
collection_formats=collection_formats)
|
|
2038
2038
|
|
|
2039
2039
|
def delete_projects_by_query(self, body, **kwargs): # noqa: E501
|
|
2040
|
-
"""Delete multiple projects by query
|
|
2040
|
+
"""*DEPRECATED* Delete multiple projects by query
|
|
2041
2041
|
|
|
2042
2042
|
Delete multiple projects by query
|
|
2043
2043
|
This method makes a synchronous HTTP request by default.
|
|
@@ -2064,7 +2064,7 @@ class ProjectsApi(object):
|
|
|
2064
2064
|
|
|
2065
2065
|
|
|
2066
2066
|
def delete_projects_by_query_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2067
|
-
"""Delete multiple projects by query
|
|
2067
|
+
"""*DEPRECATED* Delete multiple projects by query
|
|
2068
2068
|
|
|
2069
2069
|
Delete multiple projects by query
|
|
2070
2070
|
This method makes a synchronous HTTP request by default.
|
flywheel/api/resolve_api.py
CHANGED
|
@@ -39,6 +39,7 @@ class ResolveApi(object):
|
|
|
39
39
|
:param ResolveInput body: (required)
|
|
40
40
|
:param bool full_tree:
|
|
41
41
|
:param bool exhaustive:
|
|
42
|
+
:param bool include_all_info: Include all info in returned objects
|
|
42
43
|
:param bool async_: Perform the request asynchronously
|
|
43
44
|
:return: ResolverNode
|
|
44
45
|
"""
|
|
@@ -67,11 +68,12 @@ class ResolveApi(object):
|
|
|
67
68
|
:param ResolveInput body: (required)
|
|
68
69
|
:param bool full_tree:
|
|
69
70
|
:param bool exhaustive:
|
|
71
|
+
:param bool include_all_info: Include all info in returned objects
|
|
70
72
|
:param bool async_: Perform the request asynchronously
|
|
71
73
|
:return: ResolverNode
|
|
72
74
|
"""
|
|
73
75
|
|
|
74
|
-
all_params = ['body','full_tree','exhaustive',] # noqa: E501
|
|
76
|
+
all_params = ['body','full_tree','exhaustive','include_all_info',] # noqa: E501
|
|
75
77
|
all_params.append('async_')
|
|
76
78
|
all_params.append('_return_http_data_only')
|
|
77
79
|
all_params.append('_preload_content')
|
|
@@ -101,6 +103,8 @@ class ResolveApi(object):
|
|
|
101
103
|
query_params.append(('full_tree', params['full_tree'])) # noqa: E501
|
|
102
104
|
if 'exhaustive' in params:
|
|
103
105
|
query_params.append(('exhaustive', params['exhaustive'])) # noqa: E501
|
|
106
|
+
if 'include_all_info' in params:
|
|
107
|
+
query_params.append(('include_all_info', params['include_all_info'])) # noqa: E501
|
|
104
108
|
|
|
105
109
|
header_params = {}
|
|
106
110
|
|
|
@@ -155,6 +159,7 @@ class ResolveApi(object):
|
|
|
155
159
|
:param bool full_tree: Parse full download style paths (e.g. group/PROJECTS/project_label/SUBJECTS/...)
|
|
156
160
|
:param bool minattr: Return only minimal attributes
|
|
157
161
|
:param bool exhaustive: Set to return a complete list regardless of permissions
|
|
162
|
+
:param bool include_all_info: Include all info in returned objects
|
|
158
163
|
:param bool async_: Perform the request asynchronously
|
|
159
164
|
:return: ResolveOutput
|
|
160
165
|
"""
|
|
@@ -184,11 +189,12 @@ class ResolveApi(object):
|
|
|
184
189
|
:param bool full_tree: Parse full download style paths (e.g. group/PROJECTS/project_label/SUBJECTS/...)
|
|
185
190
|
:param bool minattr: Return only minimal attributes
|
|
186
191
|
:param bool exhaustive: Set to return a complete list regardless of permissions
|
|
192
|
+
:param bool include_all_info: Include all info in returned objects
|
|
187
193
|
:param bool async_: Perform the request asynchronously
|
|
188
194
|
:return: ResolveOutput
|
|
189
195
|
"""
|
|
190
196
|
|
|
191
|
-
all_params = ['body','full_tree','minattr','exhaustive',] # noqa: E501
|
|
197
|
+
all_params = ['body','full_tree','minattr','exhaustive','include_all_info',] # noqa: E501
|
|
192
198
|
all_params.append('async_')
|
|
193
199
|
all_params.append('_return_http_data_only')
|
|
194
200
|
all_params.append('_preload_content')
|
|
@@ -220,6 +226,8 @@ class ResolveApi(object):
|
|
|
220
226
|
query_params.append(('minattr', params['minattr'])) # noqa: E501
|
|
221
227
|
if 'exhaustive' in params:
|
|
222
228
|
query_params.append(('exhaustive', params['exhaustive'])) # noqa: E501
|
|
229
|
+
if 'include_all_info' in params:
|
|
230
|
+
query_params.append(('include_all_info', params['include_all_info'])) # noqa: E501
|
|
223
231
|
|
|
224
232
|
header_params = {}
|
|
225
233
|
|
flywheel/api/sessions_api.py
CHANGED
|
@@ -1576,7 +1576,7 @@ class SessionsApi(object):
|
|
|
1576
1576
|
collection_formats=collection_formats)
|
|
1577
1577
|
|
|
1578
1578
|
def delete_sessions_by_query(self, body, **kwargs): # noqa: E501
|
|
1579
|
-
"""Delete multiple sessions by query
|
|
1579
|
+
"""*DEPRECATED* Delete multiple sessions by query
|
|
1580
1580
|
|
|
1581
1581
|
Delete multiple sessions by query
|
|
1582
1582
|
This method makes a synchronous HTTP request by default.
|
|
@@ -1603,7 +1603,7 @@ class SessionsApi(object):
|
|
|
1603
1603
|
|
|
1604
1604
|
|
|
1605
1605
|
def delete_sessions_by_query_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1606
|
-
"""Delete multiple sessions by query
|
|
1606
|
+
"""*DEPRECATED* Delete multiple sessions by query
|
|
1607
1607
|
|
|
1608
1608
|
Delete multiple sessions by query
|
|
1609
1609
|
This method makes a synchronous HTTP request by default.
|
flywheel/api/subjects_api.py
CHANGED
|
@@ -1683,7 +1683,7 @@ class SubjectsApi(object):
|
|
|
1683
1683
|
collection_formats=collection_formats)
|
|
1684
1684
|
|
|
1685
1685
|
def delete_subjects_by_query(self, body, **kwargs): # noqa: E501
|
|
1686
|
-
"""Delete multiple subjects by query
|
|
1686
|
+
"""*DEPRECATED* Delete multiple subjects by query
|
|
1687
1687
|
|
|
1688
1688
|
Delete multiple subjects by query
|
|
1689
1689
|
This method makes a synchronous HTTP request by default.
|
|
@@ -1710,7 +1710,7 @@ class SubjectsApi(object):
|
|
|
1710
1710
|
|
|
1711
1711
|
|
|
1712
1712
|
def delete_subjects_by_query_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1713
|
-
"""Delete multiple subjects by query
|
|
1713
|
+
"""*DEPRECATED* Delete multiple subjects by query
|
|
1714
1714
|
|
|
1715
1715
|
Delete multiple subjects by query
|
|
1716
1716
|
This method makes a synchronous HTTP request by default.
|
flywheel/api_client.py
CHANGED
|
@@ -84,7 +84,7 @@ class ApiClient(object):
|
|
|
84
84
|
self.default_query_params = []
|
|
85
85
|
self.cookie = cookie
|
|
86
86
|
# Set default User-Agent.
|
|
87
|
-
self.user_agent = 'Swagger-Codegen/20.
|
|
87
|
+
self.user_agent = 'Swagger-Codegen/20.1.0-rc0/python'
|
|
88
88
|
self.last_response = None
|
|
89
89
|
self._version_check_fn = None
|
|
90
90
|
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: 20.
|
|
256
|
-
"SDK Package Version: 20.
|
|
255
|
+
"Version of the API: 20.1.0-rc0\n"\
|
|
256
|
+
"SDK Package Version: 20.1.0-rc0".\
|
|
257
257
|
format(env=sys.platform, pyversion=sys.version)
|