flywheel-sdk 19.2.0rc0__py2.py3-none-any.whl → 19.3.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/api/acquisitions_api.py +162 -52
- flywheel/api/analyses_api.py +164 -60
- flywheel/api/collections_api.py +146 -38
- flywheel/api/containers_api.py +58 -52
- flywheel/api/files_api.py +104 -0
- flywheel/api/groups_api.py +114 -10
- flywheel/api/projects_api.py +170 -60
- flywheel/api/sessions_api.py +162 -52
- flywheel/api/subjects_api.py +162 -52
- flywheel/api_client.py +26 -12
- flywheel/configuration.py +2 -2
- flywheel/flywheel.py +316 -195
- flywheel/gear_context.py +12 -1
- flywheel/models/__init__.py +1 -1
- flywheel/models/action.py +2 -0
- flywheel/models/azure_creds.py +2 -1
- flywheel/models/features.py +28 -28
- flywheel/models/project_copy_filter.py +4 -31
- {flywheel_sdk-19.2.0rc0.dist-info → flywheel_sdk-19.3.0rc0.dist-info}/METADATA +1 -1
- {flywheel_sdk-19.2.0rc0.dist-info → flywheel_sdk-19.3.0rc0.dist-info}/RECORD +23 -23
- {flywheel_sdk-19.2.0rc0.dist-info → flywheel_sdk-19.3.0rc0.dist-info}/WHEEL +1 -1
- {flywheel_sdk-19.2.0rc0.dist-info → flywheel_sdk-19.3.0rc0.dist-info}/LICENSE.txt +0 -0
- {flywheel_sdk-19.2.0rc0.dist-info → flywheel_sdk-19.3.0rc0.dist-info}/top_level.txt +0 -0
flywheel/api/containers_api.py
CHANGED
|
@@ -156,8 +156,9 @@ class ContainersApi(object):
|
|
|
156
156
|
collection_formats=collection_formats)
|
|
157
157
|
|
|
158
158
|
def add_container_analysis_note(self, container_id, analysis_id, body, **kwargs): # noqa: E501
|
|
159
|
-
"""Add a note to container analysis.
|
|
159
|
+
"""Add a note to a(n) container analysis.
|
|
160
160
|
|
|
161
|
+
Add a note to a(n) container analysis.
|
|
161
162
|
This method makes a synchronous HTTP request by default.
|
|
162
163
|
|
|
163
164
|
:param str container_id: 24-char hex id (required)
|
|
@@ -183,8 +184,9 @@ class ContainersApi(object):
|
|
|
183
184
|
|
|
184
185
|
|
|
185
186
|
def add_container_analysis_note_with_http_info(self, container_id, analysis_id, body, **kwargs): # noqa: E501
|
|
186
|
-
"""Add a note to container analysis.
|
|
187
|
+
"""Add a note to a(n) container analysis.
|
|
187
188
|
|
|
189
|
+
Add a note to a(n) container analysis.
|
|
188
190
|
This method makes a synchronous HTTP request by default.
|
|
189
191
|
|
|
190
192
|
:param str container_id: 24-char hex id (required)
|
|
@@ -277,8 +279,9 @@ class ContainersApi(object):
|
|
|
277
279
|
collection_formats=collection_formats)
|
|
278
280
|
|
|
279
281
|
def add_container_note(self, container_id, body, **kwargs): # noqa: E501
|
|
280
|
-
"""Add a note to container.
|
|
282
|
+
"""Add a note to a(n) container.
|
|
281
283
|
|
|
284
|
+
Add a note to a(n) container.
|
|
282
285
|
This method makes a synchronous HTTP request by default.
|
|
283
286
|
|
|
284
287
|
:param str container_id: (required)
|
|
@@ -303,8 +306,9 @@ class ContainersApi(object):
|
|
|
303
306
|
|
|
304
307
|
|
|
305
308
|
def add_container_note_with_http_info(self, container_id, body, **kwargs): # noqa: E501
|
|
306
|
-
"""Add a note to container.
|
|
309
|
+
"""Add a note to a(n) container.
|
|
307
310
|
|
|
311
|
+
Add a note to a(n) container.
|
|
308
312
|
This method makes a synchronous HTTP request by default.
|
|
309
313
|
|
|
310
314
|
:param str container_id: (required)
|
|
@@ -390,7 +394,7 @@ class ContainersApi(object):
|
|
|
390
394
|
collection_formats=collection_formats)
|
|
391
395
|
|
|
392
396
|
def add_container_tag(self, cid, body, **kwargs): # noqa: E501
|
|
393
|
-
"""Add a tag to container.
|
|
397
|
+
"""Add a tag to a(n) container.
|
|
394
398
|
|
|
395
399
|
Propagates changes to projects, sessions and acquisitions
|
|
396
400
|
This method makes a synchronous HTTP request by default.
|
|
@@ -417,7 +421,7 @@ class ContainersApi(object):
|
|
|
417
421
|
|
|
418
422
|
|
|
419
423
|
def add_container_tag_with_http_info(self, cid, body, **kwargs): # noqa: E501
|
|
420
|
-
"""Add a tag to container.
|
|
424
|
+
"""Add a tag to a(n) container.
|
|
421
425
|
|
|
422
426
|
Propagates changes to projects, sessions and acquisitions
|
|
423
427
|
This method makes a synchronous HTTP request by default.
|
|
@@ -505,9 +509,9 @@ class ContainersApi(object):
|
|
|
505
509
|
collection_formats=collection_formats)
|
|
506
510
|
|
|
507
511
|
def add_container_tags(self, cid, body, **kwargs): # noqa: E501
|
|
508
|
-
"""Add multiple tags to container
|
|
512
|
+
"""Add multiple tags to a(n) container
|
|
509
513
|
|
|
510
|
-
Add multiple tags to container
|
|
514
|
+
Add multiple tags to a(n) container
|
|
511
515
|
This method makes a synchronous HTTP request by default.
|
|
512
516
|
|
|
513
517
|
:param str cid: (required)
|
|
@@ -532,9 +536,9 @@ class ContainersApi(object):
|
|
|
532
536
|
|
|
533
537
|
|
|
534
538
|
def add_container_tags_with_http_info(self, cid, body, **kwargs): # noqa: E501
|
|
535
|
-
"""Add multiple tags to container
|
|
539
|
+
"""Add multiple tags to a(n) container
|
|
536
540
|
|
|
537
|
-
Add multiple tags to container
|
|
541
|
+
Add multiple tags to a(n) container
|
|
538
542
|
This method makes a synchronous HTTP request by default.
|
|
539
543
|
|
|
540
544
|
:param str cid: (required)
|
|
@@ -828,7 +832,7 @@ class ContainersApi(object):
|
|
|
828
832
|
collection_formats=collection_formats)
|
|
829
833
|
|
|
830
834
|
def delete_container_analysis(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
831
|
-
"""Delete an
|
|
835
|
+
"""Delete an analysis
|
|
832
836
|
|
|
833
837
|
Delete an analysis for a container.
|
|
834
838
|
This method makes a synchronous HTTP request by default.
|
|
@@ -856,7 +860,7 @@ class ContainersApi(object):
|
|
|
856
860
|
|
|
857
861
|
|
|
858
862
|
def delete_container_analysis_with_http_info(self, cid, analysis_id, **kwargs): # noqa: E501
|
|
859
|
-
"""Delete an
|
|
863
|
+
"""Delete an analysis
|
|
860
864
|
|
|
861
865
|
Delete an analysis for a container.
|
|
862
866
|
This method makes a synchronous HTTP request by default.
|
|
@@ -936,9 +940,9 @@ class ContainersApi(object):
|
|
|
936
940
|
collection_formats=collection_formats)
|
|
937
941
|
|
|
938
942
|
def delete_container_analysis_note(self, cid, analysis_id, note_id, **kwargs): # noqa: E501
|
|
939
|
-
"""Remove a note from container analysis.
|
|
943
|
+
"""Remove a note from a(n) container analysis.
|
|
940
944
|
|
|
941
|
-
Remove a note from container analysis.
|
|
945
|
+
Remove a note from a(n) container analysis.
|
|
942
946
|
This method makes a synchronous HTTP request by default.
|
|
943
947
|
|
|
944
948
|
:param str cid: 24-char hex id (required)
|
|
@@ -964,9 +968,9 @@ class ContainersApi(object):
|
|
|
964
968
|
|
|
965
969
|
|
|
966
970
|
def delete_container_analysis_note_with_http_info(self, cid, analysis_id, note_id, **kwargs): # noqa: E501
|
|
967
|
-
"""Remove a note from container analysis.
|
|
971
|
+
"""Remove a note from a(n) container analysis.
|
|
968
972
|
|
|
969
|
-
Remove a note from container analysis.
|
|
973
|
+
Remove a note from a(n) container analysis.
|
|
970
974
|
This method makes a synchronous HTTP request by default.
|
|
971
975
|
|
|
972
976
|
:param str cid: 24-char hex id (required)
|
|
@@ -1160,9 +1164,9 @@ class ContainersApi(object):
|
|
|
1160
1164
|
collection_formats=collection_formats)
|
|
1161
1165
|
|
|
1162
1166
|
def delete_container_note(self, cid, note_id, **kwargs): # noqa: E501
|
|
1163
|
-
"""Remove a note from container
|
|
1167
|
+
"""Remove a note from a(n) container
|
|
1164
1168
|
|
|
1165
|
-
Remove a note from container
|
|
1169
|
+
Remove a note from a(n) container
|
|
1166
1170
|
This method makes a synchronous HTTP request by default.
|
|
1167
1171
|
|
|
1168
1172
|
:param str cid: (required)
|
|
@@ -1187,9 +1191,9 @@ class ContainersApi(object):
|
|
|
1187
1191
|
|
|
1188
1192
|
|
|
1189
1193
|
def delete_container_note_with_http_info(self, cid, note_id, **kwargs): # noqa: E501
|
|
1190
|
-
"""Remove a note from container
|
|
1194
|
+
"""Remove a note from a(n) container
|
|
1191
1195
|
|
|
1192
|
-
Remove a note from container
|
|
1196
|
+
Remove a note from a(n) container
|
|
1193
1197
|
This method makes a synchronous HTTP request by default.
|
|
1194
1198
|
|
|
1195
1199
|
:param str cid: (required)
|
|
@@ -1368,9 +1372,9 @@ class ContainersApi(object):
|
|
|
1368
1372
|
collection_formats=collection_formats)
|
|
1369
1373
|
|
|
1370
1374
|
def delete_container_tags(self, cid, body, **kwargs): # noqa: E501
|
|
1371
|
-
"""Delete multiple tags from container
|
|
1375
|
+
"""Delete multiple tags from a(n) container
|
|
1372
1376
|
|
|
1373
|
-
Delete multiple tags from container
|
|
1377
|
+
Delete multiple tags from a(n) container
|
|
1374
1378
|
This method makes a synchronous HTTP request by default.
|
|
1375
1379
|
|
|
1376
1380
|
:param str cid: (required)
|
|
@@ -1395,9 +1399,9 @@ class ContainersApi(object):
|
|
|
1395
1399
|
|
|
1396
1400
|
|
|
1397
1401
|
def delete_container_tags_with_http_info(self, cid, body, **kwargs): # noqa: E501
|
|
1398
|
-
"""Delete multiple tags from container
|
|
1402
|
+
"""Delete multiple tags from a(n) container
|
|
1399
1403
|
|
|
1400
|
-
Delete multiple tags from container
|
|
1404
|
+
Delete multiple tags from a(n) container
|
|
1401
1405
|
This method makes a synchronous HTTP request by default.
|
|
1402
1406
|
|
|
1403
1407
|
:param str cid: (required)
|
|
@@ -1481,7 +1485,7 @@ class ContainersApi(object):
|
|
|
1481
1485
|
Files can be downloaded directly from this endpoint with a valid \"Authorization\" header or via a ticket id. To generate a ticket: - Make a request with an empty \"ticket\" parameter and a valid \"Authorization\" header. The server will respond with a generated ticket id. - Make another request with the received ticket id in the \"ticket\" parameter. A valid \"Authorization\" header is no longer required. When \"view\" is true, [RFC7233](https://tools.ietf.org/html/rfc7233) range request headers are supported. When virus_scan feature is enabled the quarantined files only can be downloaded using signed urls otherwise it will return with a HTTP 400 response.
|
|
1482
1486
|
This method makes a synchronous HTTP request by default.
|
|
1483
1487
|
|
|
1484
|
-
:param str container_id: 24-
|
|
1488
|
+
:param str container_id: 24-character hex ID (required)
|
|
1485
1489
|
:param str file_name: output file name (required)
|
|
1486
1490
|
:param bool info: If the file is a zipfile, return a json response of zipfile member information
|
|
1487
1491
|
:param str member: The filename of a zipfile member to download rather than the entire file
|
|
@@ -1515,7 +1519,7 @@ class ContainersApi(object):
|
|
|
1515
1519
|
Files can be downloaded directly from this endpoint with a valid \"Authorization\" header or via a ticket id. To generate a ticket: - Make a request with an empty \"ticket\" parameter and a valid \"Authorization\" header. The server will respond with a generated ticket id. - Make another request with the received ticket id in the \"ticket\" parameter. A valid \"Authorization\" header is no longer required. When \"view\" is true, [RFC7233](https://tools.ietf.org/html/rfc7233) range request headers are supported. When virus_scan feature is enabled the quarantined files only can be downloaded using signed urls otherwise it will return with a HTTP 400 response.
|
|
1516
1520
|
This method makes a synchronous HTTP request by default.
|
|
1517
1521
|
|
|
1518
|
-
:param str container_id: 24-
|
|
1522
|
+
:param str container_id: 24-character hex ID (required)
|
|
1519
1523
|
:param str file_name: output file name (required)
|
|
1520
1524
|
:param bool info: If the file is a zipfile, return a json response of zipfile member information
|
|
1521
1525
|
:param str member: The filename of a zipfile member to download rather than the entire file
|
|
@@ -1614,7 +1618,7 @@ class ContainersApi(object):
|
|
|
1614
1618
|
Files can be downloaded directly from this endpoint with a valid \"Authorization\" header or via a ticket id. To generate a ticket: - Make a request with an empty \"ticket\" parameter and a valid \"Authorization\" header. The server will respond with a generated ticket id. - Make another request with the received ticket id in the \"ticket\" parameter. A valid \"Authorization\" header is no longer required. When \"view\" is true, [RFC7233](https://tools.ietf.org/html/rfc7233) range request headers are supported. When virus_scan feature is enabled the quarantined files only can be downloaded using signed urls otherwise it will return with a HTTP 400 response.
|
|
1615
1619
|
This method makes a synchronous HTTP request by default.
|
|
1616
1620
|
|
|
1617
|
-
:param str container_id: 24-
|
|
1621
|
+
:param str container_id: 24-character hex ID (required)
|
|
1618
1622
|
:param str file_name: output file name (required)
|
|
1619
1623
|
:param str ticket: The generated ticket id for the download, or present but empty to generate a ticket id
|
|
1620
1624
|
:param bool info: If the file is a zipfile, return a json response of zipfile member information
|
|
@@ -1649,7 +1653,7 @@ class ContainersApi(object):
|
|
|
1649
1653
|
Files can be downloaded directly from this endpoint with a valid \"Authorization\" header or via a ticket id. To generate a ticket: - Make a request with an empty \"ticket\" parameter and a valid \"Authorization\" header. The server will respond with a generated ticket id. - Make another request with the received ticket id in the \"ticket\" parameter. A valid \"Authorization\" header is no longer required. When \"view\" is true, [RFC7233](https://tools.ietf.org/html/rfc7233) range request headers are supported. When virus_scan feature is enabled the quarantined files only can be downloaded using signed urls otherwise it will return with a HTTP 400 response.
|
|
1650
1654
|
This method makes a synchronous HTTP request by default.
|
|
1651
1655
|
|
|
1652
|
-
:param str container_id: 24-
|
|
1656
|
+
:param str container_id: 24-character hex ID (required)
|
|
1653
1657
|
:param str file_name: output file name (required)
|
|
1654
1658
|
:param str ticket: The generated ticket id for the download, or present but empty to generate a ticket id
|
|
1655
1659
|
:param bool info: If the file is a zipfile, return a json response of zipfile member information
|
|
@@ -1753,7 +1757,7 @@ class ContainersApi(object):
|
|
|
1753
1757
|
Files can be downloaded directly from this endpoint with a valid \"Authorization\" header or via a ticket id. To generate a ticket: - Make a request with an empty \"ticket\" parameter and a valid \"Authorization\" header. The server will respond with a generated ticket id. - Make another request with the received ticket id in the \"ticket\" parameter. A valid \"Authorization\" header is no longer required. When \"view\" is true, [RFC7233](https://tools.ietf.org/html/rfc7233) range request headers are supported. When virus_scan feature is enabled the quarantined files only can be downloaded using signed urls otherwise it will return with a HTTP 400 response.
|
|
1754
1758
|
This method makes a synchronous HTTP request by default.
|
|
1755
1759
|
|
|
1756
|
-
:param str container_id: 24-
|
|
1760
|
+
:param str container_id: 24-character hex ID (required)
|
|
1757
1761
|
:param str file_name: output file name (required)
|
|
1758
1762
|
:param str ticket: The generated ticket id for the download, or present but empty to generate a ticket id
|
|
1759
1763
|
:param bool info: If the file is a zipfile, return a json response of zipfile member information
|
|
@@ -1788,7 +1792,7 @@ class ContainersApi(object):
|
|
|
1788
1792
|
Files can be downloaded directly from this endpoint with a valid \"Authorization\" header or via a ticket id. To generate a ticket: - Make a request with an empty \"ticket\" parameter and a valid \"Authorization\" header. The server will respond with a generated ticket id. - Make another request with the received ticket id in the \"ticket\" parameter. A valid \"Authorization\" header is no longer required. When \"view\" is true, [RFC7233](https://tools.ietf.org/html/rfc7233) range request headers are supported. When virus_scan feature is enabled the quarantined files only can be downloaded using signed urls otherwise it will return with a HTTP 400 response.
|
|
1789
1793
|
This method makes a synchronous HTTP request by default.
|
|
1790
1794
|
|
|
1791
|
-
:param str container_id: 24-
|
|
1795
|
+
:param str container_id: 24-character hex ID (required)
|
|
1792
1796
|
:param str file_name: output file name (required)
|
|
1793
1797
|
:param str ticket: The generated ticket id for the download, or present but empty to generate a ticket id
|
|
1794
1798
|
:param bool info: If the file is a zipfile, return a json response of zipfile member information
|
|
@@ -2807,7 +2811,7 @@ class ContainersApi(object):
|
|
|
2807
2811
|
collection_formats=collection_formats)
|
|
2808
2812
|
|
|
2809
2813
|
def get_container_analyses(self, cid, **kwargs): # noqa: E501
|
|
2810
|
-
"""Get analyses for container.
|
|
2814
|
+
"""Get analyses for a(n) container.
|
|
2811
2815
|
|
|
2812
2816
|
Returns analyses that directly belong to this resource.
|
|
2813
2817
|
This method makes a synchronous HTTP request by default.
|
|
@@ -2843,7 +2847,7 @@ class ContainersApi(object):
|
|
|
2843
2847
|
|
|
2844
2848
|
|
|
2845
2849
|
def get_container_analyses_with_http_info(self, cid, **kwargs): # noqa: E501
|
|
2846
|
-
"""Get analyses for container.
|
|
2850
|
+
"""Get analyses for a(n) container.
|
|
2847
2851
|
|
|
2848
2852
|
Returns analyses that directly belong to this resource.
|
|
2849
2853
|
This method makes a synchronous HTTP request by default.
|
|
@@ -3065,7 +3069,7 @@ class ContainersApi(object):
|
|
|
3065
3069
|
Get info for a particular file.
|
|
3066
3070
|
This method makes a synchronous HTTP request by default.
|
|
3067
3071
|
|
|
3068
|
-
:param str cid: (required)
|
|
3072
|
+
:param str cid: Container Id (required)
|
|
3069
3073
|
:param str filename: (required)
|
|
3070
3074
|
:param bool async_: Perform the request asynchronously
|
|
3071
3075
|
:return: FileOutput
|
|
@@ -3092,7 +3096,7 @@ class ContainersApi(object):
|
|
|
3092
3096
|
Get info for a particular file.
|
|
3093
3097
|
This method makes a synchronous HTTP request by default.
|
|
3094
3098
|
|
|
3095
|
-
:param str cid: (required)
|
|
3099
|
+
:param str cid: Container Id (required)
|
|
3096
3100
|
:param str filename: (required)
|
|
3097
3101
|
:param bool async_: Perform the request asynchronously
|
|
3098
3102
|
:return: FileOutput
|
|
@@ -3164,9 +3168,9 @@ class ContainersApi(object):
|
|
|
3164
3168
|
collection_formats=collection_formats)
|
|
3165
3169
|
|
|
3166
3170
|
def get_container_note(self, cid, note_id, **kwargs): # noqa: E501
|
|
3167
|
-
"""Get a note
|
|
3171
|
+
"""Get a note of a(n) container.
|
|
3168
3172
|
|
|
3169
|
-
Get a note
|
|
3173
|
+
Get a note of a(n) container
|
|
3170
3174
|
This method makes a synchronous HTTP request by default.
|
|
3171
3175
|
|
|
3172
3176
|
:param str cid: (required)
|
|
@@ -3191,9 +3195,9 @@ class ContainersApi(object):
|
|
|
3191
3195
|
|
|
3192
3196
|
|
|
3193
3197
|
def get_container_note_with_http_info(self, cid, note_id, **kwargs): # noqa: E501
|
|
3194
|
-
"""Get a note
|
|
3198
|
+
"""Get a note of a(n) container.
|
|
3195
3199
|
|
|
3196
|
-
Get a note
|
|
3200
|
+
Get a note of a(n) container
|
|
3197
3201
|
This method makes a synchronous HTTP request by default.
|
|
3198
3202
|
|
|
3199
3203
|
:param str cid: (required)
|
|
@@ -4099,9 +4103,9 @@ class ContainersApi(object):
|
|
|
4099
4103
|
collection_formats=collection_formats)
|
|
4100
4104
|
|
|
4101
4105
|
def modify_container_info(self, cid, body, **kwargs): # noqa: E501
|
|
4102
|
-
"""Update or replace info for a container.
|
|
4106
|
+
"""Update or replace info for a(n) container.
|
|
4103
4107
|
|
|
4104
|
-
Update or replace info for a container.
|
|
4108
|
+
Update or replace info for a(n) container.
|
|
4105
4109
|
This method makes a synchronous HTTP request by default.
|
|
4106
4110
|
|
|
4107
4111
|
:param str cid: (required)
|
|
@@ -4126,9 +4130,9 @@ class ContainersApi(object):
|
|
|
4126
4130
|
|
|
4127
4131
|
|
|
4128
4132
|
def modify_container_info_with_http_info(self, cid, body, **kwargs): # noqa: E501
|
|
4129
|
-
"""Update or replace info for a container.
|
|
4133
|
+
"""Update or replace info for a(n) container.
|
|
4130
4134
|
|
|
4131
|
-
Update or replace info for a container.
|
|
4135
|
+
Update or replace info for a(n) container.
|
|
4132
4136
|
This method makes a synchronous HTTP request by default.
|
|
4133
4137
|
|
|
4134
4138
|
:param str cid: (required)
|
|
@@ -4214,9 +4218,9 @@ class ContainersApi(object):
|
|
|
4214
4218
|
collection_formats=collection_formats)
|
|
4215
4219
|
|
|
4216
4220
|
def modify_container_note(self, cid, note_id, body, **kwargs): # noqa: E501
|
|
4217
|
-
"""Update a note
|
|
4221
|
+
"""Update a note of a(n) container.
|
|
4218
4222
|
|
|
4219
|
-
Update a note
|
|
4223
|
+
Update a note of a(n) container
|
|
4220
4224
|
This method makes a synchronous HTTP request by default.
|
|
4221
4225
|
|
|
4222
4226
|
:param str cid: (required)
|
|
@@ -4242,9 +4246,9 @@ class ContainersApi(object):
|
|
|
4242
4246
|
|
|
4243
4247
|
|
|
4244
4248
|
def modify_container_note_with_http_info(self, cid, note_id, body, **kwargs): # noqa: E501
|
|
4245
|
-
"""Update a note
|
|
4249
|
+
"""Update a note of a(n) container.
|
|
4246
4250
|
|
|
4247
|
-
Update a note
|
|
4251
|
+
Update a note of a(n) container
|
|
4248
4252
|
This method makes a synchronous HTTP request by default.
|
|
4249
4253
|
|
|
4250
4254
|
:param str cid: (required)
|
|
@@ -4460,8 +4464,9 @@ class ContainersApi(object):
|
|
|
4460
4464
|
collection_formats=collection_formats)
|
|
4461
4465
|
|
|
4462
4466
|
def upload_file_to_container(self, container_id, file, **kwargs): # noqa: E501
|
|
4463
|
-
"""Upload a file to container.
|
|
4467
|
+
"""Upload a file to a(n) container.
|
|
4464
4468
|
|
|
4469
|
+
Upload a file to a(n) container.
|
|
4465
4470
|
This method makes a synchronous HTTP request by default.
|
|
4466
4471
|
|
|
4467
4472
|
:param str container_id: (required)
|
|
@@ -4494,8 +4499,9 @@ class ContainersApi(object):
|
|
|
4494
4499
|
|
|
4495
4500
|
|
|
4496
4501
|
def upload_file_to_container_with_http_info(self, container_id, file, **kwargs): # noqa: E501
|
|
4497
|
-
"""Upload a file to container.
|
|
4502
|
+
"""Upload a file to a(n) container.
|
|
4498
4503
|
|
|
4504
|
+
Upload a file to a(n) container.
|
|
4499
4505
|
This method makes a synchronous HTTP request by default.
|
|
4500
4506
|
|
|
4501
4507
|
:param str container_id: (required)
|
|
@@ -4599,9 +4605,9 @@ class ContainersApi(object):
|
|
|
4599
4605
|
collection_formats=collection_formats)
|
|
4600
4606
|
|
|
4601
4607
|
def upload_output_to_container_analysis(self, cid, analysis_id, file, **kwargs): # noqa: E501
|
|
4602
|
-
"""Upload an output file to analysis.
|
|
4608
|
+
"""Upload an output file to an analysis.
|
|
4603
4609
|
|
|
4604
|
-
Upload an output file to analysis
|
|
4610
|
+
Upload an output file to an analysis
|
|
4605
4611
|
This method makes a synchronous HTTP request by default.
|
|
4606
4612
|
|
|
4607
4613
|
:param str cid: (required)
|
|
@@ -4632,9 +4638,9 @@ class ContainersApi(object):
|
|
|
4632
4638
|
|
|
4633
4639
|
|
|
4634
4640
|
def upload_output_to_container_analysis_with_http_info(self, cid, analysis_id, file, **kwargs): # noqa: E501
|
|
4635
|
-
"""Upload an output file to analysis.
|
|
4641
|
+
"""Upload an output file to an analysis.
|
|
4636
4642
|
|
|
4637
|
-
Upload an output file to analysis
|
|
4643
|
+
Upload an output file to an analysis
|
|
4638
4644
|
This method makes a synchronous HTTP request by default.
|
|
4639
4645
|
|
|
4640
4646
|
:param str cid: (required)
|
flywheel/api/files_api.py
CHANGED
|
@@ -350,6 +350,110 @@ class FilesApi(object):
|
|
|
350
350
|
_request_out=params.get('_request_out'),
|
|
351
351
|
collection_formats=collection_formats)
|
|
352
352
|
|
|
353
|
+
def delete_files_by_ids(self, body, **kwargs): # noqa: E501
|
|
354
|
+
"""Delete Files by IDs
|
|
355
|
+
|
|
356
|
+
Delete multiple files by file ID list.
|
|
357
|
+
This method makes a synchronous HTTP request by default.
|
|
358
|
+
|
|
359
|
+
:param list[str] body: List of IDs to delete (required)
|
|
360
|
+
:param ContainerDeleteReason delete_reason:
|
|
361
|
+
:param bool async_: Perform the request asynchronously
|
|
362
|
+
:return: DeletedResult
|
|
363
|
+
"""
|
|
364
|
+
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
365
|
+
kwargs['_return_http_data_only'] = True
|
|
366
|
+
|
|
367
|
+
if kwargs.get('async_'):
|
|
368
|
+
return self.delete_files_by_ids_with_http_info(body, **kwargs) # noqa: E501
|
|
369
|
+
else:
|
|
370
|
+
(data) = self.delete_files_by_ids_with_http_info(body, **kwargs) # noqa: E501
|
|
371
|
+
if (
|
|
372
|
+
data
|
|
373
|
+
and hasattr(data, 'return_value')
|
|
374
|
+
and not ignore_simplified_return_value
|
|
375
|
+
):
|
|
376
|
+
return data.return_value()
|
|
377
|
+
return data
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
def delete_files_by_ids_with_http_info(self, body, **kwargs): # noqa: E501
|
|
381
|
+
"""Delete Files by IDs
|
|
382
|
+
|
|
383
|
+
Delete multiple files by file ID list.
|
|
384
|
+
This method makes a synchronous HTTP request by default.
|
|
385
|
+
|
|
386
|
+
:param list[str] body: List of IDs to delete (required)
|
|
387
|
+
:param ContainerDeleteReason delete_reason:
|
|
388
|
+
:param bool async_: Perform the request asynchronously
|
|
389
|
+
:return: DeletedResult
|
|
390
|
+
"""
|
|
391
|
+
|
|
392
|
+
all_params = ['body','delete_reason',] # noqa: E501
|
|
393
|
+
all_params.append('async_')
|
|
394
|
+
all_params.append('_return_http_data_only')
|
|
395
|
+
all_params.append('_preload_content')
|
|
396
|
+
all_params.append('_request_timeout')
|
|
397
|
+
all_params.append('_request_out')
|
|
398
|
+
|
|
399
|
+
params = locals()
|
|
400
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
401
|
+
if key not in all_params:
|
|
402
|
+
raise TypeError(
|
|
403
|
+
"Got an unexpected keyword argument '%s'"
|
|
404
|
+
" to method delete_files_by_ids" % key
|
|
405
|
+
)
|
|
406
|
+
params[key] = val
|
|
407
|
+
del params['kwargs']
|
|
408
|
+
# verify the required parameter 'body' is set
|
|
409
|
+
if ('body' not in params or
|
|
410
|
+
params['body'] is None):
|
|
411
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_files_by_ids`") # noqa: E501
|
|
412
|
+
|
|
413
|
+
collection_formats = {}
|
|
414
|
+
|
|
415
|
+
path_params = {}
|
|
416
|
+
|
|
417
|
+
query_params = []
|
|
418
|
+
if 'delete_reason' in params:
|
|
419
|
+
query_params.append(('delete_reason', params['delete_reason'])) # noqa: E501
|
|
420
|
+
|
|
421
|
+
header_params = {}
|
|
422
|
+
|
|
423
|
+
form_params = []
|
|
424
|
+
local_var_files = {}
|
|
425
|
+
|
|
426
|
+
body_params = None
|
|
427
|
+
if 'body' in params:
|
|
428
|
+
body_params = params['body']
|
|
429
|
+
# HTTP header `Accept`
|
|
430
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
431
|
+
['application/json']) # noqa: E501
|
|
432
|
+
|
|
433
|
+
# HTTP header `Content-Type`
|
|
434
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
435
|
+
['application/json']) # noqa: E501
|
|
436
|
+
|
|
437
|
+
# Authentication setting
|
|
438
|
+
auth_settings = ['ApiKey'] # noqa: E501
|
|
439
|
+
|
|
440
|
+
return self.api_client.call_api(
|
|
441
|
+
'/files', 'DELETE',
|
|
442
|
+
path_params,
|
|
443
|
+
query_params,
|
|
444
|
+
header_params,
|
|
445
|
+
body=body_params,
|
|
446
|
+
post_params=form_params,
|
|
447
|
+
files=local_var_files,
|
|
448
|
+
response_type='DeletedResult', # noqa: E501
|
|
449
|
+
auth_settings=auth_settings,
|
|
450
|
+
async_=params.get('async_'),
|
|
451
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
452
|
+
_preload_content=params.get('_preload_content', True),
|
|
453
|
+
_request_timeout=params.get('_request_timeout'),
|
|
454
|
+
_request_out=params.get('_request_out'),
|
|
455
|
+
collection_formats=collection_formats)
|
|
456
|
+
|
|
353
457
|
def get_all_files(self, **kwargs): # noqa: E501
|
|
354
458
|
"""Return all files
|
|
355
459
|
|
flywheel/api/groups_api.py
CHANGED
|
@@ -377,7 +377,7 @@ class GroupsApi(object):
|
|
|
377
377
|
collection_formats=collection_formats)
|
|
378
378
|
|
|
379
379
|
def add_group_tag(self, cid, body, **kwargs): # noqa: E501
|
|
380
|
-
"""Add a tag to group.
|
|
380
|
+
"""Add a tag to a(n) group.
|
|
381
381
|
|
|
382
382
|
Propagates changes to projects, sessions and acquisitions
|
|
383
383
|
This method makes a synchronous HTTP request by default.
|
|
@@ -404,7 +404,7 @@ class GroupsApi(object):
|
|
|
404
404
|
|
|
405
405
|
|
|
406
406
|
def add_group_tag_with_http_info(self, cid, body, **kwargs): # noqa: E501
|
|
407
|
-
"""Add a tag to group.
|
|
407
|
+
"""Add a tag to a(n) group.
|
|
408
408
|
|
|
409
409
|
Propagates changes to projects, sessions and acquisitions
|
|
410
410
|
This method makes a synchronous HTTP request by default.
|
|
@@ -492,9 +492,9 @@ class GroupsApi(object):
|
|
|
492
492
|
collection_formats=collection_formats)
|
|
493
493
|
|
|
494
494
|
def add_group_tags(self, cid, body, **kwargs): # noqa: E501
|
|
495
|
-
"""Add multiple tags to group
|
|
495
|
+
"""Add multiple tags to a(n) group
|
|
496
496
|
|
|
497
|
-
Add multiple tags to group
|
|
497
|
+
Add multiple tags to a(n) group
|
|
498
498
|
This method makes a synchronous HTTP request by default.
|
|
499
499
|
|
|
500
500
|
:param str cid: (required)
|
|
@@ -519,9 +519,9 @@ class GroupsApi(object):
|
|
|
519
519
|
|
|
520
520
|
|
|
521
521
|
def add_group_tags_with_http_info(self, cid, body, **kwargs): # noqa: E501
|
|
522
|
-
"""Add multiple tags to group
|
|
522
|
+
"""Add multiple tags to a(n) group
|
|
523
523
|
|
|
524
|
-
Add multiple tags to group
|
|
524
|
+
Add multiple tags to a(n) group
|
|
525
525
|
This method makes a synchronous HTTP request by default.
|
|
526
526
|
|
|
527
527
|
:param str cid: (required)
|
|
@@ -915,9 +915,9 @@ class GroupsApi(object):
|
|
|
915
915
|
collection_formats=collection_formats)
|
|
916
916
|
|
|
917
917
|
def delete_group_tags(self, cid, body, **kwargs): # noqa: E501
|
|
918
|
-
"""Delete tags
|
|
918
|
+
"""Delete multiple tags from a(n) group
|
|
919
919
|
|
|
920
|
-
Delete tags
|
|
920
|
+
Delete multiple tags from a(n) group
|
|
921
921
|
This method makes a synchronous HTTP request by default.
|
|
922
922
|
|
|
923
923
|
:param str cid: (required)
|
|
@@ -942,9 +942,9 @@ class GroupsApi(object):
|
|
|
942
942
|
|
|
943
943
|
|
|
944
944
|
def delete_group_tags_with_http_info(self, cid, body, **kwargs): # noqa: E501
|
|
945
|
-
"""Delete tags
|
|
945
|
+
"""Delete multiple tags from a(n) group
|
|
946
946
|
|
|
947
|
-
Delete tags
|
|
947
|
+
Delete multiple tags from a(n) group
|
|
948
948
|
This method makes a synchronous HTTP request by default.
|
|
949
949
|
|
|
950
950
|
:param str cid: (required)
|
|
@@ -1239,6 +1239,110 @@ class GroupsApi(object):
|
|
|
1239
1239
|
_request_out=params.get('_request_out'),
|
|
1240
1240
|
collection_formats=collection_formats)
|
|
1241
1241
|
|
|
1242
|
+
def delete_groups_by_ids(self, body, **kwargs): # noqa: E501
|
|
1243
|
+
"""Delete multiple groups by ID list
|
|
1244
|
+
|
|
1245
|
+
Delete multiple groups by ID list
|
|
1246
|
+
This method makes a synchronous HTTP request by default.
|
|
1247
|
+
|
|
1248
|
+
:param list[str] body: List of IDs to delete (required)
|
|
1249
|
+
:param ContainerDeleteReason delete_reason:
|
|
1250
|
+
:param bool async_: Perform the request asynchronously
|
|
1251
|
+
:return: DeletedResult
|
|
1252
|
+
"""
|
|
1253
|
+
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
1254
|
+
kwargs['_return_http_data_only'] = True
|
|
1255
|
+
|
|
1256
|
+
if kwargs.get('async_'):
|
|
1257
|
+
return self.delete_groups_by_ids_with_http_info(body, **kwargs) # noqa: E501
|
|
1258
|
+
else:
|
|
1259
|
+
(data) = self.delete_groups_by_ids_with_http_info(body, **kwargs) # noqa: E501
|
|
1260
|
+
if (
|
|
1261
|
+
data
|
|
1262
|
+
and hasattr(data, 'return_value')
|
|
1263
|
+
and not ignore_simplified_return_value
|
|
1264
|
+
):
|
|
1265
|
+
return data.return_value()
|
|
1266
|
+
return data
|
|
1267
|
+
|
|
1268
|
+
|
|
1269
|
+
def delete_groups_by_ids_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1270
|
+
"""Delete multiple groups by ID list
|
|
1271
|
+
|
|
1272
|
+
Delete multiple groups by ID list
|
|
1273
|
+
This method makes a synchronous HTTP request by default.
|
|
1274
|
+
|
|
1275
|
+
:param list[str] body: List of IDs to delete (required)
|
|
1276
|
+
:param ContainerDeleteReason delete_reason:
|
|
1277
|
+
:param bool async_: Perform the request asynchronously
|
|
1278
|
+
:return: DeletedResult
|
|
1279
|
+
"""
|
|
1280
|
+
|
|
1281
|
+
all_params = ['body','delete_reason',] # noqa: E501
|
|
1282
|
+
all_params.append('async_')
|
|
1283
|
+
all_params.append('_return_http_data_only')
|
|
1284
|
+
all_params.append('_preload_content')
|
|
1285
|
+
all_params.append('_request_timeout')
|
|
1286
|
+
all_params.append('_request_out')
|
|
1287
|
+
|
|
1288
|
+
params = locals()
|
|
1289
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1290
|
+
if key not in all_params:
|
|
1291
|
+
raise TypeError(
|
|
1292
|
+
"Got an unexpected keyword argument '%s'"
|
|
1293
|
+
" to method delete_groups_by_ids" % key
|
|
1294
|
+
)
|
|
1295
|
+
params[key] = val
|
|
1296
|
+
del params['kwargs']
|
|
1297
|
+
# verify the required parameter 'body' is set
|
|
1298
|
+
if ('body' not in params or
|
|
1299
|
+
params['body'] is None):
|
|
1300
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_groups_by_ids`") # noqa: E501
|
|
1301
|
+
|
|
1302
|
+
collection_formats = {}
|
|
1303
|
+
|
|
1304
|
+
path_params = {}
|
|
1305
|
+
|
|
1306
|
+
query_params = []
|
|
1307
|
+
if 'delete_reason' in params:
|
|
1308
|
+
query_params.append(('delete_reason', params['delete_reason'])) # noqa: E501
|
|
1309
|
+
|
|
1310
|
+
header_params = {}
|
|
1311
|
+
|
|
1312
|
+
form_params = []
|
|
1313
|
+
local_var_files = {}
|
|
1314
|
+
|
|
1315
|
+
body_params = None
|
|
1316
|
+
if 'body' in params:
|
|
1317
|
+
body_params = params['body']
|
|
1318
|
+
# HTTP header `Accept`
|
|
1319
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1320
|
+
['application/json']) # noqa: E501
|
|
1321
|
+
|
|
1322
|
+
# HTTP header `Content-Type`
|
|
1323
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1324
|
+
['application/json']) # noqa: E501
|
|
1325
|
+
|
|
1326
|
+
# Authentication setting
|
|
1327
|
+
auth_settings = ['ApiKey'] # noqa: E501
|
|
1328
|
+
|
|
1329
|
+
return self.api_client.call_api(
|
|
1330
|
+
'/groups', 'DELETE',
|
|
1331
|
+
path_params,
|
|
1332
|
+
query_params,
|
|
1333
|
+
header_params,
|
|
1334
|
+
body=body_params,
|
|
1335
|
+
post_params=form_params,
|
|
1336
|
+
files=local_var_files,
|
|
1337
|
+
response_type='DeletedResult', # noqa: E501
|
|
1338
|
+
auth_settings=auth_settings,
|
|
1339
|
+
async_=params.get('async_'),
|
|
1340
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1341
|
+
_preload_content=params.get('_preload_content', True),
|
|
1342
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1343
|
+
_request_out=params.get('_request_out'),
|
|
1344
|
+
collection_formats=collection_formats)
|
|
1345
|
+
|
|
1242
1346
|
def get_all_group_roles(self, group_id, **kwargs): # noqa: E501
|
|
1243
1347
|
"""Get list of group roles
|
|
1244
1348
|
|