flywheel-sdk 19.3.0rc2__py2.py3-none-any.whl → 19.4.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 +134 -28
- flywheel/api/analyses_api.py +125 -21
- flywheel/api/collections_api.py +122 -12
- flywheel/api/containers_api.py +25 -27
- flywheel/api/files_api.py +212 -4
- flywheel/api/groups_api.py +109 -1
- flywheel/api/jobs_api.py +5 -1
- flywheel/api/projects_api.py +149 -31
- flywheel/api/sessions_api.py +144 -30
- flywheel/api/subjects_api.py +139 -29
- flywheel/api/tree_api.py +5 -1
- flywheel/api/users_api.py +15 -3
- flywheel/api_client.py +1 -1
- flywheel/configuration.py +2 -2
- flywheel/flywheel.py +207 -187
- flywheel/models/__init__.py +2 -1
- flywheel/models/daily_report_usage.py +62 -4
- flywheel/models/features.py +16 -16
- flywheel/models/filter.py +217 -0
- flywheel/models/mixins.py +33 -2
- flywheel/models/report_usage.py +88 -1
- {flywheel_sdk-19.3.0rc2.dist-info → flywheel_sdk-19.4.0rc0.dist-info}/METADATA +1 -1
- {flywheel_sdk-19.3.0rc2.dist-info → flywheel_sdk-19.4.0rc0.dist-info}/RECORD +27 -26
- {flywheel_sdk-19.3.0rc2.dist-info → flywheel_sdk-19.4.0rc0.dist-info}/WHEEL +1 -1
- {flywheel_sdk-19.3.0rc2.dist-info → flywheel_sdk-19.4.0rc0.dist-info}/LICENSE.txt +0 -0
- {flywheel_sdk-19.3.0rc2.dist-info → flywheel_sdk-19.4.0rc0.dist-info}/top_level.txt +0 -0
flywheel/api/subjects_api.py
CHANGED
|
@@ -1682,6 +1682,110 @@ class SubjectsApi(object):
|
|
|
1682
1682
|
_request_out=params.get('_request_out'),
|
|
1683
1683
|
collection_formats=collection_formats)
|
|
1684
1684
|
|
|
1685
|
+
def delete_subjects_by_query(self, body, **kwargs): # noqa: E501
|
|
1686
|
+
"""Delete multiple subjects by query
|
|
1687
|
+
|
|
1688
|
+
Delete multiple subjects by query
|
|
1689
|
+
This method makes a synchronous HTTP request by default.
|
|
1690
|
+
|
|
1691
|
+
:param list[Filter] body: Query for containers to delete (required)
|
|
1692
|
+
:param ContainerDeleteReason delete_reason:
|
|
1693
|
+
:param bool async_: Perform the request asynchronously
|
|
1694
|
+
:return: DeletedResult
|
|
1695
|
+
"""
|
|
1696
|
+
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
1697
|
+
kwargs['_return_http_data_only'] = True
|
|
1698
|
+
|
|
1699
|
+
if kwargs.get('async_'):
|
|
1700
|
+
return self.delete_subjects_by_query_with_http_info(body, **kwargs) # noqa: E501
|
|
1701
|
+
else:
|
|
1702
|
+
(data) = self.delete_subjects_by_query_with_http_info(body, **kwargs) # noqa: E501
|
|
1703
|
+
if (
|
|
1704
|
+
data
|
|
1705
|
+
and hasattr(data, 'return_value')
|
|
1706
|
+
and not ignore_simplified_return_value
|
|
1707
|
+
):
|
|
1708
|
+
return data.return_value()
|
|
1709
|
+
return data
|
|
1710
|
+
|
|
1711
|
+
|
|
1712
|
+
def delete_subjects_by_query_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1713
|
+
"""Delete multiple subjects by query
|
|
1714
|
+
|
|
1715
|
+
Delete multiple subjects by query
|
|
1716
|
+
This method makes a synchronous HTTP request by default.
|
|
1717
|
+
|
|
1718
|
+
:param list[Filter] body: Query for containers to delete (required)
|
|
1719
|
+
:param ContainerDeleteReason delete_reason:
|
|
1720
|
+
:param bool async_: Perform the request asynchronously
|
|
1721
|
+
:return: DeletedResult
|
|
1722
|
+
"""
|
|
1723
|
+
|
|
1724
|
+
all_params = ['body','delete_reason',] # noqa: E501
|
|
1725
|
+
all_params.append('async_')
|
|
1726
|
+
all_params.append('_return_http_data_only')
|
|
1727
|
+
all_params.append('_preload_content')
|
|
1728
|
+
all_params.append('_request_timeout')
|
|
1729
|
+
all_params.append('_request_out')
|
|
1730
|
+
|
|
1731
|
+
params = locals()
|
|
1732
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1733
|
+
if key not in all_params:
|
|
1734
|
+
raise TypeError(
|
|
1735
|
+
"Got an unexpected keyword argument '%s'"
|
|
1736
|
+
" to method delete_subjects_by_query" % key
|
|
1737
|
+
)
|
|
1738
|
+
params[key] = val
|
|
1739
|
+
del params['kwargs']
|
|
1740
|
+
# verify the required parameter 'body' is set
|
|
1741
|
+
if ('body' not in params or
|
|
1742
|
+
params['body'] is None):
|
|
1743
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_subjects_by_query`") # noqa: E501
|
|
1744
|
+
|
|
1745
|
+
collection_formats = {}
|
|
1746
|
+
|
|
1747
|
+
path_params = {}
|
|
1748
|
+
|
|
1749
|
+
query_params = []
|
|
1750
|
+
if 'delete_reason' in params:
|
|
1751
|
+
query_params.append(('delete_reason', params['delete_reason'])) # noqa: E501
|
|
1752
|
+
|
|
1753
|
+
header_params = {}
|
|
1754
|
+
|
|
1755
|
+
form_params = []
|
|
1756
|
+
local_var_files = {}
|
|
1757
|
+
|
|
1758
|
+
body_params = None
|
|
1759
|
+
if 'body' in params:
|
|
1760
|
+
body_params = params['body']
|
|
1761
|
+
# HTTP header `Accept`
|
|
1762
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1763
|
+
['application/json']) # noqa: E501
|
|
1764
|
+
|
|
1765
|
+
# HTTP header `Content-Type`
|
|
1766
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1767
|
+
['application/json']) # noqa: E501
|
|
1768
|
+
|
|
1769
|
+
# Authentication setting
|
|
1770
|
+
auth_settings = ['ApiKey'] # noqa: E501
|
|
1771
|
+
|
|
1772
|
+
return self.api_client.call_api(
|
|
1773
|
+
'/subjects/delete_by_query', 'DELETE',
|
|
1774
|
+
path_params,
|
|
1775
|
+
query_params,
|
|
1776
|
+
header_params,
|
|
1777
|
+
body=body_params,
|
|
1778
|
+
post_params=form_params,
|
|
1779
|
+
files=local_var_files,
|
|
1780
|
+
response_type='DeletedResult', # noqa: E501
|
|
1781
|
+
auth_settings=auth_settings,
|
|
1782
|
+
async_=params.get('async_'),
|
|
1783
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1784
|
+
_preload_content=params.get('_preload_content', True),
|
|
1785
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1786
|
+
_request_out=params.get('_request_out'),
|
|
1787
|
+
collection_formats=collection_formats)
|
|
1788
|
+
|
|
1685
1789
|
def download_file_from_subject(self, subject_id, file_name, dest_file, **kwargs): # noqa: E501
|
|
1686
1790
|
"""Download a file.
|
|
1687
1791
|
|
|
@@ -1816,9 +1920,9 @@ class SubjectsApi(object):
|
|
|
1816
1920
|
collection_formats=collection_formats)
|
|
1817
1921
|
|
|
1818
1922
|
def get_subject_file_zip_info(self, subject_id, file_name, **kwargs): # noqa: E501
|
|
1819
|
-
"""
|
|
1923
|
+
"""Retrieve the zip info of a child file by name.
|
|
1820
1924
|
|
|
1821
|
-
|
|
1925
|
+
Does not work on files whose names contain a forward slash.
|
|
1822
1926
|
This method makes a synchronous HTTP request by default.
|
|
1823
1927
|
|
|
1824
1928
|
:param str subject_id: 24-character hex ID (required)
|
|
@@ -1851,9 +1955,9 @@ class SubjectsApi(object):
|
|
|
1851
1955
|
|
|
1852
1956
|
|
|
1853
1957
|
def get_subject_file_zip_info_with_http_info(self, subject_id, file_name, **kwargs): # noqa: E501
|
|
1854
|
-
"""
|
|
1958
|
+
"""Retrieve the zip info of a child file by name.
|
|
1855
1959
|
|
|
1856
|
-
|
|
1960
|
+
Does not work on files whose names contain a forward slash.
|
|
1857
1961
|
This method makes a synchronous HTTP request by default.
|
|
1858
1962
|
|
|
1859
1963
|
:param str subject_id: 24-character hex ID (required)
|
|
@@ -1955,9 +2059,8 @@ class SubjectsApi(object):
|
|
|
1955
2059
|
collection_formats=collection_formats)
|
|
1956
2060
|
|
|
1957
2061
|
def get_subject_download_ticket(self, subject_id, file_name, **kwargs): # noqa: E501
|
|
1958
|
-
"""
|
|
2062
|
+
"""Get a signed URL to download a named child file.
|
|
1959
2063
|
|
|
1960
|
-
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.
|
|
1961
2064
|
This method makes a synchronous HTTP request by default.
|
|
1962
2065
|
|
|
1963
2066
|
:param str subject_id: 24-character hex ID (required)
|
|
@@ -1990,9 +2093,8 @@ class SubjectsApi(object):
|
|
|
1990
2093
|
|
|
1991
2094
|
|
|
1992
2095
|
def get_subject_download_ticket_with_http_info(self, subject_id, file_name, **kwargs): # noqa: E501
|
|
1993
|
-
"""
|
|
2096
|
+
"""Get a signed URL to download a named child file.
|
|
1994
2097
|
|
|
1995
|
-
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.
|
|
1996
2098
|
This method makes a synchronous HTTP request by default.
|
|
1997
2099
|
|
|
1998
2100
|
:param str subject_id: 24-character hex ID (required)
|
|
@@ -2225,9 +2327,9 @@ class SubjectsApi(object):
|
|
|
2225
2327
|
collection_formats=collection_formats)
|
|
2226
2328
|
|
|
2227
2329
|
def get_subject_analysis_input_zip_info(self, subject_id, analysis_id, filename, **kwargs): # noqa: E501
|
|
2228
|
-
"""
|
|
2330
|
+
"""Retrieve the zip info of a child file by name.
|
|
2229
2331
|
|
|
2230
|
-
|
|
2332
|
+
Does not work on files whose names contain a forward slash.
|
|
2231
2333
|
This method makes a synchronous HTTP request by default.
|
|
2232
2334
|
|
|
2233
2335
|
:param str subject_id: 24-character hex ID (required)
|
|
@@ -2259,9 +2361,9 @@ class SubjectsApi(object):
|
|
|
2259
2361
|
|
|
2260
2362
|
|
|
2261
2363
|
def get_subject_analysis_input_zip_info_with_http_info(self, subject_id, analysis_id, filename, **kwargs): # noqa: E501
|
|
2262
|
-
"""
|
|
2364
|
+
"""Retrieve the zip info of a child file by name.
|
|
2263
2365
|
|
|
2264
|
-
|
|
2366
|
+
Does not work on files whose names contain a forward slash.
|
|
2265
2367
|
This method makes a synchronous HTTP request by default.
|
|
2266
2368
|
|
|
2267
2369
|
:param str subject_id: 24-character hex ID (required)
|
|
@@ -2364,9 +2466,8 @@ class SubjectsApi(object):
|
|
|
2364
2466
|
collection_formats=collection_formats)
|
|
2365
2467
|
|
|
2366
2468
|
def get_subject_analysis_input_download_ticket(self, subject_id, analysis_id, filename, **kwargs): # noqa: E501
|
|
2367
|
-
"""
|
|
2469
|
+
"""Get a signed URL to download a named child file.
|
|
2368
2470
|
|
|
2369
|
-
If \"ticket\" query param is included and not empty, download inputs. If \"ticket\" query param is included and empty, create a ticket for matching inputs in the analysis. If no \"ticket\" query param is included, inputs will be downloaded directly.
|
|
2370
2471
|
This method makes a synchronous HTTP request by default.
|
|
2371
2472
|
|
|
2372
2473
|
:param str subject_id: 24-character hex ID (required)
|
|
@@ -2398,9 +2499,8 @@ class SubjectsApi(object):
|
|
|
2398
2499
|
|
|
2399
2500
|
|
|
2400
2501
|
def get_subject_analysis_input_download_ticket_with_http_info(self, subject_id, analysis_id, filename, **kwargs): # noqa: E501
|
|
2401
|
-
"""
|
|
2502
|
+
"""Get a signed URL to download a named child file.
|
|
2402
2503
|
|
|
2403
|
-
If \"ticket\" query param is included and not empty, download inputs. If \"ticket\" query param is included and empty, create a ticket for matching inputs in the analysis. If no \"ticket\" query param is included, inputs will be downloaded directly.
|
|
2404
2504
|
This method makes a synchronous HTTP request by default.
|
|
2405
2505
|
|
|
2406
2506
|
:param str subject_id: 24-character hex ID (required)
|
|
@@ -2634,9 +2734,9 @@ class SubjectsApi(object):
|
|
|
2634
2734
|
collection_formats=collection_formats)
|
|
2635
2735
|
|
|
2636
2736
|
def get_subject_analysis_output_zip_info(self, subject_id, analysis_id, filename, **kwargs): # noqa: E501
|
|
2637
|
-
"""
|
|
2737
|
+
"""Retrieve the zip info of a child file by name.
|
|
2638
2738
|
|
|
2639
|
-
|
|
2739
|
+
Does not work on files whose names contain a forward slash.
|
|
2640
2740
|
This method makes a synchronous HTTP request by default.
|
|
2641
2741
|
|
|
2642
2742
|
:param str subject_id: 24-character hex ID (required)
|
|
@@ -2668,9 +2768,9 @@ class SubjectsApi(object):
|
|
|
2668
2768
|
|
|
2669
2769
|
|
|
2670
2770
|
def get_subject_analysis_output_zip_info_with_http_info(self, subject_id, analysis_id, filename, **kwargs): # noqa: E501
|
|
2671
|
-
"""
|
|
2771
|
+
"""Retrieve the zip info of a child file by name.
|
|
2672
2772
|
|
|
2673
|
-
|
|
2773
|
+
Does not work on files whose names contain a forward slash.
|
|
2674
2774
|
This method makes a synchronous HTTP request by default.
|
|
2675
2775
|
|
|
2676
2776
|
:param str subject_id: 24-character hex ID (required)
|
|
@@ -2773,9 +2873,8 @@ class SubjectsApi(object):
|
|
|
2773
2873
|
collection_formats=collection_formats)
|
|
2774
2874
|
|
|
2775
2875
|
def get_subject_analysis_output_download_ticket(self, subject_id, analysis_id, filename, **kwargs): # noqa: E501
|
|
2776
|
-
"""
|
|
2876
|
+
"""Get a signed URL to download a named child file.
|
|
2777
2877
|
|
|
2778
|
-
If \"ticket\" query param is included and not empty, download outputs. If \"ticket\" query param is included and empty, create a ticket for matching outputs in the analysis. If no \"ticket\" query param is included, outputs will be downloaded directly.
|
|
2779
2878
|
This method makes a synchronous HTTP request by default.
|
|
2780
2879
|
|
|
2781
2880
|
:param str subject_id: 24-character hex ID (required)
|
|
@@ -2807,9 +2906,8 @@ class SubjectsApi(object):
|
|
|
2807
2906
|
|
|
2808
2907
|
|
|
2809
2908
|
def get_subject_analysis_output_download_ticket_with_http_info(self, subject_id, analysis_id, filename, **kwargs): # noqa: E501
|
|
2810
|
-
"""
|
|
2909
|
+
"""Get a signed URL to download a named child file.
|
|
2811
2910
|
|
|
2812
|
-
If \"ticket\" query param is included and not empty, download outputs. If \"ticket\" query param is included and empty, create a ticket for matching outputs in the analysis. If no \"ticket\" query param is included, outputs will be downloaded directly.
|
|
2813
2911
|
This method makes a synchronous HTTP request by default.
|
|
2814
2912
|
|
|
2815
2913
|
:param str subject_id: 24-character hex ID (required)
|
|
@@ -2918,6 +3016,7 @@ class SubjectsApi(object):
|
|
|
2918
3016
|
:param bool exhaustive: Set to return a complete list regardless of permissions
|
|
2919
3017
|
:param JoinType join: join file origins
|
|
2920
3018
|
:param bool join_avatars: add name and avatar to notes
|
|
3019
|
+
:param bool include_all_info: Include all info in returned objects
|
|
2921
3020
|
:param str filter: The filter to apply. (e.g. label=my-label,created>2018-09-22)
|
|
2922
3021
|
:param str sort: The sort fields and order. (e.g. label:asc,created:desc)
|
|
2923
3022
|
:param int limit: The maximum number of entries to return.
|
|
@@ -2953,6 +3052,7 @@ class SubjectsApi(object):
|
|
|
2953
3052
|
:param bool exhaustive: Set to return a complete list regardless of permissions
|
|
2954
3053
|
:param JoinType join: join file origins
|
|
2955
3054
|
:param bool join_avatars: add name and avatar to notes
|
|
3055
|
+
:param bool include_all_info: Include all info in returned objects
|
|
2956
3056
|
:param str filter: The filter to apply. (e.g. label=my-label,created>2018-09-22)
|
|
2957
3057
|
:param str sort: The sort fields and order. (e.g. label:asc,created:desc)
|
|
2958
3058
|
:param int limit: The maximum number of entries to return.
|
|
@@ -2964,7 +3064,7 @@ class SubjectsApi(object):
|
|
|
2964
3064
|
:return: union[Page,list[SubjectOutputForList]]
|
|
2965
3065
|
"""
|
|
2966
3066
|
|
|
2967
|
-
all_params = ['exhaustive','join','join_avatars','filter','sort','limit','skip','page','after_id','x_accept_feature',] # noqa: E501
|
|
3067
|
+
all_params = ['exhaustive','join','join_avatars','include_all_info','filter','sort','limit','skip','page','after_id','x_accept_feature',] # noqa: E501
|
|
2968
3068
|
all_params.append('async_')
|
|
2969
3069
|
all_params.append('_return_http_data_only')
|
|
2970
3070
|
all_params.append('_preload_content')
|
|
@@ -2992,6 +3092,8 @@ class SubjectsApi(object):
|
|
|
2992
3092
|
query_params.append(('join', params['join'])) # noqa: E501
|
|
2993
3093
|
if 'join_avatars' in params:
|
|
2994
3094
|
query_params.append(('join_avatars', params['join_avatars'])) # noqa: E501
|
|
3095
|
+
if 'include_all_info' in params:
|
|
3096
|
+
query_params.append(('include_all_info', params['include_all_info'])) # noqa: E501
|
|
2995
3097
|
if 'filter' in params:
|
|
2996
3098
|
query_params.append(('filter', params['filter'])) # noqa: E501
|
|
2997
3099
|
if 'sort' in params:
|
|
@@ -3163,6 +3265,7 @@ class SubjectsApi(object):
|
|
|
3163
3265
|
:param bool inflate_job:
|
|
3164
3266
|
:param bool join_avatars:
|
|
3165
3267
|
:param JoinType join:
|
|
3268
|
+
:param bool include_all_info: Include all info in returned objects
|
|
3166
3269
|
:param list[str] x_accept_feature:
|
|
3167
3270
|
:param bool async_: Perform the request asynchronously
|
|
3168
3271
|
:return: union[Page,list[union[AnalysisListOutput,AnalysisListOutputInflatedJob]]]
|
|
@@ -3199,12 +3302,13 @@ class SubjectsApi(object):
|
|
|
3199
3302
|
:param bool inflate_job:
|
|
3200
3303
|
:param bool join_avatars:
|
|
3201
3304
|
:param JoinType join:
|
|
3305
|
+
:param bool include_all_info: Include all info in returned objects
|
|
3202
3306
|
:param list[str] x_accept_feature:
|
|
3203
3307
|
:param bool async_: Perform the request asynchronously
|
|
3204
3308
|
:return: union[Page,list[union[AnalysisListOutput,AnalysisListOutputInflatedJob]]]
|
|
3205
3309
|
"""
|
|
3206
3310
|
|
|
3207
|
-
all_params = ['cid','filter','sort','limit','skip','page','after_id','inflate_job','join_avatars','join','x_accept_feature',] # noqa: E501
|
|
3311
|
+
all_params = ['cid','filter','sort','limit','skip','page','after_id','inflate_job','join_avatars','join','include_all_info','x_accept_feature',] # noqa: E501
|
|
3208
3312
|
all_params.append('async_')
|
|
3209
3313
|
all_params.append('_return_http_data_only')
|
|
3210
3314
|
all_params.append('_preload_content')
|
|
@@ -3250,6 +3354,8 @@ class SubjectsApi(object):
|
|
|
3250
3354
|
query_params.append(('join_avatars', params['join_avatars'])) # noqa: E501
|
|
3251
3355
|
if 'join' in params:
|
|
3252
3356
|
query_params.append(('join', params['join'])) # noqa: E501
|
|
3357
|
+
if 'include_all_info' in params:
|
|
3358
|
+
query_params.append(('include_all_info', params['include_all_info'])) # noqa: E501
|
|
3253
3359
|
|
|
3254
3360
|
header_params = {}
|
|
3255
3361
|
if 'x_accept_feature' in params:
|
|
@@ -3616,6 +3722,7 @@ class SubjectsApi(object):
|
|
|
3616
3722
|
|
|
3617
3723
|
:param str subject_id: 24-char hex subject id (required)
|
|
3618
3724
|
:param JoinType join: join file origins
|
|
3725
|
+
:param bool include_all_info: Include all info in returned objects
|
|
3619
3726
|
:param str filter: The filter to apply. (e.g. label=my-label,created>2018-09-22)
|
|
3620
3727
|
:param str sort: The sort fields and order. (e.g. label:asc,created:desc)
|
|
3621
3728
|
:param int limit: The maximum number of entries to return.
|
|
@@ -3650,6 +3757,7 @@ class SubjectsApi(object):
|
|
|
3650
3757
|
|
|
3651
3758
|
:param str subject_id: 24-char hex subject id (required)
|
|
3652
3759
|
:param JoinType join: join file origins
|
|
3760
|
+
:param bool include_all_info: Include all info in returned objects
|
|
3653
3761
|
:param str filter: The filter to apply. (e.g. label=my-label,created>2018-09-22)
|
|
3654
3762
|
:param str sort: The sort fields and order. (e.g. label:asc,created:desc)
|
|
3655
3763
|
:param int limit: The maximum number of entries to return.
|
|
@@ -3661,7 +3769,7 @@ class SubjectsApi(object):
|
|
|
3661
3769
|
:return: union[Page,list[SessionListOutput]]
|
|
3662
3770
|
"""
|
|
3663
3771
|
|
|
3664
|
-
all_params = ['subject_id','join','filter','sort','limit','skip','page','after_id','x_accept_feature',] # noqa: E501
|
|
3772
|
+
all_params = ['subject_id','join','include_all_info','filter','sort','limit','skip','page','after_id','x_accept_feature',] # noqa: E501
|
|
3665
3773
|
all_params.append('async_')
|
|
3666
3774
|
all_params.append('_return_http_data_only')
|
|
3667
3775
|
all_params.append('_preload_content')
|
|
@@ -3691,6 +3799,8 @@ class SubjectsApi(object):
|
|
|
3691
3799
|
query_params = []
|
|
3692
3800
|
if 'join' in params:
|
|
3693
3801
|
query_params.append(('join', params['join'])) # noqa: E501
|
|
3802
|
+
if 'include_all_info' in params:
|
|
3803
|
+
query_params.append(('include_all_info', params['include_all_info'])) # noqa: E501
|
|
3694
3804
|
if 'filter' in params:
|
|
3695
3805
|
query_params.append(('filter', params['filter'])) # noqa: E501
|
|
3696
3806
|
if 'sort' in params:
|
|
@@ -4451,7 +4561,7 @@ class SubjectsApi(object):
|
|
|
4451
4561
|
def modify_subject_info(self, cid, body, **kwargs): # noqa: E501
|
|
4452
4562
|
"""Update or replace info for a(n) subject.
|
|
4453
4563
|
|
|
4454
|
-
Update or replace info for a(n) subject.
|
|
4564
|
+
Update or replace info for a(n) subject. Keys that contain '$' or '.' will be sanitized in the process of being updated on the container.
|
|
4455
4565
|
This method makes a synchronous HTTP request by default.
|
|
4456
4566
|
|
|
4457
4567
|
:param str cid: (required)
|
|
@@ -4478,7 +4588,7 @@ class SubjectsApi(object):
|
|
|
4478
4588
|
def modify_subject_info_with_http_info(self, cid, body, **kwargs): # noqa: E501
|
|
4479
4589
|
"""Update or replace info for a(n) subject.
|
|
4480
4590
|
|
|
4481
|
-
Update or replace info for a(n) subject.
|
|
4591
|
+
Update or replace info for a(n) subject. Keys that contain '$' or '.' will be sanitized in the process of being updated on the container.
|
|
4482
4592
|
This method makes a synchronous HTTP request by default.
|
|
4483
4593
|
|
|
4484
4594
|
:param str cid: (required)
|
flywheel/api/tree_api.py
CHANGED
|
@@ -38,6 +38,7 @@ class TreeApi(object):
|
|
|
38
38
|
|
|
39
39
|
:param GraphFilter body: (required)
|
|
40
40
|
:param bool exhaustive:
|
|
41
|
+
:param bool include_all_info: Include all info in returned objects
|
|
41
42
|
:param str filter: The filter to apply. (e.g. label=my-label,created>2018-09-22)
|
|
42
43
|
:param str sort: The sort fields and order. (e.g. label:asc,created:desc)
|
|
43
44
|
:param int limit: The maximum number of entries to return.
|
|
@@ -72,6 +73,7 @@ class TreeApi(object):
|
|
|
72
73
|
|
|
73
74
|
:param GraphFilter body: (required)
|
|
74
75
|
:param bool exhaustive:
|
|
76
|
+
:param bool include_all_info: Include all info in returned objects
|
|
75
77
|
:param str filter: The filter to apply. (e.g. label=my-label,created>2018-09-22)
|
|
76
78
|
:param str sort: The sort fields and order. (e.g. label:asc,created:desc)
|
|
77
79
|
:param int limit: The maximum number of entries to return.
|
|
@@ -83,7 +85,7 @@ class TreeApi(object):
|
|
|
83
85
|
:return: union[Page,list[object]]
|
|
84
86
|
"""
|
|
85
87
|
|
|
86
|
-
all_params = ['body','exhaustive','filter','sort','limit','skip','page','after_id','x_accept_feature',] # noqa: E501
|
|
88
|
+
all_params = ['body','exhaustive','include_all_info','filter','sort','limit','skip','page','after_id','x_accept_feature',] # noqa: E501
|
|
87
89
|
all_params.append('async_')
|
|
88
90
|
all_params.append('_return_http_data_only')
|
|
89
91
|
all_params.append('_preload_content')
|
|
@@ -111,6 +113,8 @@ class TreeApi(object):
|
|
|
111
113
|
query_params = []
|
|
112
114
|
if 'exhaustive' in params:
|
|
113
115
|
query_params.append(('exhaustive', params['exhaustive'])) # noqa: E501
|
|
116
|
+
if 'include_all_info' in params:
|
|
117
|
+
query_params.append(('include_all_info', params['include_all_info'])) # noqa: E501
|
|
114
118
|
if 'filter' in params:
|
|
115
119
|
query_params.append(('filter', params['filter'])) # noqa: E501
|
|
116
120
|
if 'sort' in params:
|
flywheel/api/users_api.py
CHANGED
|
@@ -1062,6 +1062,7 @@ class UsersApi(object):
|
|
|
1062
1062
|
:param int page: The page number (i.e. skip limit*page entries)
|
|
1063
1063
|
:param bool exhaustive: Set to return a complete list regardless of permissions
|
|
1064
1064
|
:param str after_id: Paginate after the given id. (Cannot be used with sort, page or skip)
|
|
1065
|
+
:param bool include_all_info: Include all info in returned objects
|
|
1065
1066
|
:param bool async_: Perform the request asynchronously
|
|
1066
1067
|
:return: list[AcquisitionListOutput]
|
|
1067
1068
|
"""
|
|
@@ -1095,11 +1096,12 @@ class UsersApi(object):
|
|
|
1095
1096
|
:param int page: The page number (i.e. skip limit*page entries)
|
|
1096
1097
|
:param bool exhaustive: Set to return a complete list regardless of permissions
|
|
1097
1098
|
:param str after_id: Paginate after the given id. (Cannot be used with sort, page or skip)
|
|
1099
|
+
:param bool include_all_info: Include all info in returned objects
|
|
1098
1100
|
:param bool async_: Perform the request asynchronously
|
|
1099
1101
|
:return: list[AcquisitionListOutput]
|
|
1100
1102
|
"""
|
|
1101
1103
|
|
|
1102
|
-
all_params = ['uid','filter','sort','limit','skip','page','exhaustive','after_id',] # noqa: E501
|
|
1104
|
+
all_params = ['uid','filter','sort','limit','skip','page','exhaustive','after_id','include_all_info',] # noqa: E501
|
|
1103
1105
|
all_params.append('async_')
|
|
1104
1106
|
all_params.append('_return_http_data_only')
|
|
1105
1107
|
all_params.append('_preload_content')
|
|
@@ -1141,6 +1143,8 @@ class UsersApi(object):
|
|
|
1141
1143
|
query_params.append(('exhaustive', params['exhaustive'])) # noqa: E501
|
|
1142
1144
|
if 'after_id' in params:
|
|
1143
1145
|
query_params.append(('after_id', params['after_id'])) # noqa: E501
|
|
1146
|
+
if 'include_all_info' in params:
|
|
1147
|
+
query_params.append(('include_all_info', params['include_all_info'])) # noqa: E501
|
|
1144
1148
|
|
|
1145
1149
|
header_params = {}
|
|
1146
1150
|
|
|
@@ -1536,6 +1540,7 @@ class UsersApi(object):
|
|
|
1536
1540
|
:param int page: The page number (i.e. skip limit*page entries)
|
|
1537
1541
|
:param str after_id: Paginate after the given id. (Cannot be used with sort, page or skip)
|
|
1538
1542
|
:param bool exhaustive: Set to return a complete list regardless of permissions
|
|
1543
|
+
:param bool include_all_info: Include all info in returned objects
|
|
1539
1544
|
:param bool async_: Perform the request asynchronously
|
|
1540
1545
|
:return: list[ProjectListOutput]
|
|
1541
1546
|
"""
|
|
@@ -1569,11 +1574,12 @@ class UsersApi(object):
|
|
|
1569
1574
|
:param int page: The page number (i.e. skip limit*page entries)
|
|
1570
1575
|
:param str after_id: Paginate after the given id. (Cannot be used with sort, page or skip)
|
|
1571
1576
|
:param bool exhaustive: Set to return a complete list regardless of permissions
|
|
1577
|
+
:param bool include_all_info: Include all info in returned objects
|
|
1572
1578
|
:param bool async_: Perform the request asynchronously
|
|
1573
1579
|
:return: list[ProjectListOutput]
|
|
1574
1580
|
"""
|
|
1575
1581
|
|
|
1576
|
-
all_params = ['uid','filter','sort','limit','skip','page','after_id','exhaustive',] # noqa: E501
|
|
1582
|
+
all_params = ['uid','filter','sort','limit','skip','page','after_id','exhaustive','include_all_info',] # noqa: E501
|
|
1577
1583
|
all_params.append('async_')
|
|
1578
1584
|
all_params.append('_return_http_data_only')
|
|
1579
1585
|
all_params.append('_preload_content')
|
|
@@ -1615,6 +1621,8 @@ class UsersApi(object):
|
|
|
1615
1621
|
query_params.append(('after_id', params['after_id'])) # noqa: E501
|
|
1616
1622
|
if 'exhaustive' in params:
|
|
1617
1623
|
query_params.append(('exhaustive', params['exhaustive'])) # noqa: E501
|
|
1624
|
+
if 'include_all_info' in params:
|
|
1625
|
+
query_params.append(('include_all_info', params['include_all_info'])) # noqa: E501
|
|
1618
1626
|
|
|
1619
1627
|
header_params = {}
|
|
1620
1628
|
|
|
@@ -1660,6 +1668,7 @@ class UsersApi(object):
|
|
|
1660
1668
|
:param int page:
|
|
1661
1669
|
:param str after_id:
|
|
1662
1670
|
:param bool exhaustive:
|
|
1671
|
+
:param bool include_all_info: Include all info in returned objects
|
|
1663
1672
|
:param bool async_: Perform the request asynchronously
|
|
1664
1673
|
:return: list[SessionListOutput]
|
|
1665
1674
|
"""
|
|
@@ -1693,11 +1702,12 @@ class UsersApi(object):
|
|
|
1693
1702
|
:param int page:
|
|
1694
1703
|
:param str after_id:
|
|
1695
1704
|
:param bool exhaustive:
|
|
1705
|
+
:param bool include_all_info: Include all info in returned objects
|
|
1696
1706
|
:param bool async_: Perform the request asynchronously
|
|
1697
1707
|
:return: list[SessionListOutput]
|
|
1698
1708
|
"""
|
|
1699
1709
|
|
|
1700
|
-
all_params = ['uid','filter','sort','limit','skip','page','after_id','exhaustive',] # noqa: E501
|
|
1710
|
+
all_params = ['uid','filter','sort','limit','skip','page','after_id','exhaustive','include_all_info',] # noqa: E501
|
|
1701
1711
|
all_params.append('async_')
|
|
1702
1712
|
all_params.append('_return_http_data_only')
|
|
1703
1713
|
all_params.append('_preload_content')
|
|
@@ -1739,6 +1749,8 @@ class UsersApi(object):
|
|
|
1739
1749
|
query_params.append(('after_id', params['after_id'])) # noqa: E501
|
|
1740
1750
|
if 'exhaustive' in params:
|
|
1741
1751
|
query_params.append(('exhaustive', params['exhaustive'])) # noqa: E501
|
|
1752
|
+
if 'include_all_info' in params:
|
|
1753
|
+
query_params.append(('include_all_info', params['include_all_info'])) # noqa: E501
|
|
1742
1754
|
|
|
1743
1755
|
header_params = {}
|
|
1744
1756
|
|
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/19.
|
|
87
|
+
self.user_agent = 'Swagger-Codegen/19.4.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: 19.
|
|
256
|
-
"SDK Package Version: 19.
|
|
255
|
+
"Version of the API: 19.4.0-rc0\n"\
|
|
256
|
+
"SDK Package Version: 19.4.0-rc0".\
|
|
257
257
|
format(env=sys.platform, pyversion=sys.version)
|