flywheel-sdk 21.3.0rc0__py3-none-any.whl → 21.4.0__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.
Files changed (773) hide show
  1. flywheel/__init__.py +7 -8
  2. flywheel/api/acquisitions_api.py +1033 -569
  3. flywheel/api/analyses_api.py +786 -432
  4. flywheel/api/audit_trail_api.py +78 -51
  5. flywheel/api/auth_api.py +6 -11
  6. flywheel/api/batch_api.py +60 -43
  7. flywheel/api/bulk_api.py +10 -13
  8. flywheel/api/change_log_api.py +40 -29
  9. flywheel/api/collections_api.py +740 -410
  10. flywheel/api/config_api.py +18 -19
  11. flywheel/api/container_tasks_api.py +14 -15
  12. flywheel/api/container_type_api.py +14 -15
  13. flywheel/api/containers_api.py +989 -545
  14. flywheel/api/custom_filters_api.py +64 -43
  15. flywheel/api/data_view_executions_api.py +94 -59
  16. flywheel/api/dataexplorer_api.py +158 -99
  17. flywheel/api/devices_api.py +132 -83
  18. flywheel/api/dimse_api.py +72 -51
  19. flywheel/api/download_api.py +46 -32
  20. flywheel/api/files_api.py +266 -157
  21. flywheel/api/form_responses_api.py +100 -63
  22. flywheel/api/gears_api.py +278 -163
  23. flywheel/api/groups_api.py +426 -245
  24. flywheel/api/jobs_api.py +288 -173
  25. flywheel/api/jupyterlab_servers_api.py +24 -21
  26. flywheel/api/modalities_api.py +78 -51
  27. flywheel/api/packfiles_api.py +6 -11
  28. flywheel/api/projects_api.py +1661 -856
  29. flywheel/api/protocols_api.py +94 -61
  30. flywheel/api/reports_api.py +196 -115
  31. flywheel/api/resolve_api.py +48 -33
  32. flywheel/api/roles_api.py +82 -53
  33. flywheel/api/sessions_api.py +1137 -623
  34. flywheel/api/site_api.py +182 -113
  35. flywheel/api/staffing_pools_api.py +88 -57
  36. flywheel/api/subjects_api.py +1095 -603
  37. flywheel/api/tasks_api.py +108 -69
  38. flywheel/api/tree_api.py +52 -35
  39. flywheel/api/uids_api.py +10 -13
  40. flywheel/api/upload_api.py +162 -95
  41. flywheel/api/users_api.py +418 -235
  42. flywheel/api/views_api.py +222 -127
  43. flywheel/api_client.py +19 -18
  44. flywheel/configuration.py +2 -9
  45. flywheel/file_spec.py +0 -7
  46. flywheel/flywheel.py +818 -4423
  47. flywheel/gear_context.py +10 -10
  48. flywheel/models/__init__.py +7 -8
  49. flywheel/models/access_level.py +0 -7
  50. flywheel/models/access_permission.py +13 -14
  51. flywheel/models/access_permission_output.py +13 -14
  52. flywheel/models/access_permission_update.py +8 -11
  53. flywheel/models/access_type.py +0 -7
  54. flywheel/models/accumulator.py +0 -7
  55. flywheel/models/acquisition.py +0 -7
  56. flywheel/models/acquisition_container_output.py +0 -7
  57. flywheel/models/acquisition_copy_input.py +18 -17
  58. flywheel/models/acquisition_input.py +33 -26
  59. flywheel/models/acquisition_list_output.py +118 -77
  60. flywheel/models/acquisition_modify_input.py +33 -26
  61. flywheel/models/acquisition_node.py +0 -7
  62. flywheel/models/acquisition_output.py +118 -77
  63. flywheel/models/acquisition_parents.py +23 -20
  64. flywheel/models/acquisition_template_options.py +28 -23
  65. flywheel/models/acquisition_upsert_input.py +48 -35
  66. flywheel/models/acquisition_upsert_output.py +23 -20
  67. flywheel/models/action.py +1 -7
  68. flywheel/models/adhoc_analysis_input.py +23 -20
  69. flywheel/models/analysis.py +0 -7
  70. flywheel/models/analysis_container_output.py +0 -7
  71. flywheel/models/analysis_files_create_ticket_output.py +23 -20
  72. flywheel/models/analysis_input.py +33 -26
  73. flywheel/models/analysis_input_legacy.py +0 -7
  74. flywheel/models/analysis_list_output.py +103 -68
  75. flywheel/models/analysis_list_output_inflated_job.py +98 -65
  76. flywheel/models/analysis_modify_input.py +13 -14
  77. flywheel/models/analysis_node.py +0 -7
  78. flywheel/models/analysis_output.py +103 -68
  79. flywheel/models/analysis_output_inflated_job.py +103 -68
  80. flywheel/models/analysis_parents.py +28 -23
  81. flywheel/models/analysis_update.py +0 -7
  82. flywheel/models/api_key_input_with_optional_label.py +13 -14
  83. flywheel/models/api_key_output.py +33 -26
  84. flywheel/models/as_storage.py +33 -26
  85. flywheel/models/assignee.py +13 -14
  86. flywheel/models/assignee_type.py +0 -7
  87. flywheel/models/audit_trail_report.py +68 -47
  88. flywheel/models/audit_trail_report_status.py +0 -7
  89. flywheel/models/auth0_auth_out.py +38 -29
  90. flywheel/models/auth0_options_out.py +38 -29
  91. flywheel/models/auth_out.py +34 -82
  92. flywheel/models/auth_session_output.py +28 -23
  93. flywheel/models/avatars.py +18 -17
  94. flywheel/models/aws_creds.py +13 -14
  95. flywheel/models/aws_storage.py +43 -32
  96. flywheel/models/azure_creds.py +13 -14
  97. flywheel/models/base_aet.py +23 -20
  98. flywheel/models/base_compute.py +58 -41
  99. flywheel/models/batch.py +43 -32
  100. flywheel/models/batch_cancel_output.py +0 -7
  101. flywheel/models/batch_create_filters.py +18 -17
  102. flywheel/models/batch_job_analysis_input.py +28 -23
  103. flywheel/models/batch_jobs_proposal_input.py +0 -7
  104. flywheel/models/batch_proposal.py +0 -7
  105. flywheel/models/batch_proposal_detail.py +0 -7
  106. flywheel/models/batch_proposal_input.py +0 -7
  107. flywheel/models/body.py +0 -7
  108. flywheel/models/body_regenerate_key_api_devices_device_id_key_post.py +0 -7
  109. flywheel/models/body_region.py +0 -7
  110. flywheel/models/bookmark.py +13 -14
  111. flywheel/models/bulk_move_input.py +28 -23
  112. flywheel/models/bulk_move_sessions.py +0 -7
  113. flywheel/models/callbacks_virus_scan_input.py +0 -7
  114. flywheel/models/cancelled_batch_output.py +8 -11
  115. flywheel/models/catalog_list_output.py +53 -38
  116. flywheel/models/central_out.py +33 -26
  117. flywheel/models/change.py +80 -39
  118. flywheel/models/change_log_container_type.py +0 -7
  119. flywheel/models/change_log_document.py +23 -20
  120. flywheel/models/change_method.py +1 -7
  121. flywheel/models/classic_batch_job_output.py +43 -32
  122. flywheel/models/classic_batch_job_output_inflated_jobs.py +48 -35
  123. flywheel/models/classic_batch_proposal_input.py +48 -35
  124. flywheel/models/classic_batch_proposal_output.py +63 -44
  125. flywheel/models/classification_add_delete.py +0 -7
  126. flywheel/models/classification_replace.py +0 -7
  127. flywheel/models/classification_update_input.py +0 -7
  128. flywheel/models/cohort.py +0 -7
  129. flywheel/models/collection.py +0 -7
  130. flywheel/models/collection_container_output.py +0 -7
  131. flywheel/models/collection_input.py +18 -17
  132. flywheel/models/collection_input_with_contents.py +23 -20
  133. flywheel/models/collection_node.py +13 -14
  134. flywheel/models/collection_node_level.py +0 -7
  135. flywheel/models/collection_operation.py +13 -14
  136. flywheel/models/collection_operation_type.py +0 -7
  137. flywheel/models/collection_output.py +93 -62
  138. flywheel/models/collection_with_stats.py +93 -62
  139. flywheel/models/column.py +28 -23
  140. flywheel/models/column_type.py +0 -7
  141. flywheel/models/common_classification.py +3 -8
  142. flywheel/models/common_deleted_count.py +0 -7
  143. flywheel/models/common_editions.py +0 -7
  144. flywheel/models/common_info.py +3 -8
  145. flywheel/models/common_join_origins.py +0 -7
  146. flywheel/models/common_key.py +0 -7
  147. flywheel/models/common_modified_count.py +0 -7
  148. flywheel/models/common_object_created.py +0 -7
  149. flywheel/models/common_project_settings.py +0 -7
  150. flywheel/models/common_settings.py +0 -7
  151. flywheel/models/complete_multipart_upload_output.py +13 -14
  152. flywheel/models/complete_s3_multipart_upload_input.py +23 -20
  153. flywheel/models/config_feature_map.py +0 -7
  154. flywheel/models/config_out.py +48 -35
  155. flywheel/models/config_output.py +0 -7
  156. flywheel/models/config_site_config_output.py +0 -7
  157. flywheel/models/config_site_settings.py +0 -7
  158. flywheel/models/config_site_settings_input.py +0 -7
  159. flywheel/models/conflict_types.py +0 -7
  160. flywheel/models/container_delete_reason.py +0 -7
  161. flywheel/models/container_filter.py +13 -14
  162. flywheel/models/container_id_view_input.py +73 -50
  163. flywheel/models/container_id_view_input_execute_and_save.py +33 -26
  164. flywheel/models/container_modify.py +73 -50
  165. flywheel/models/container_new_output.py +0 -7
  166. flywheel/models/container_node_min.py +43 -32
  167. flywheel/models/container_output.py +0 -7
  168. flywheel/models/container_output_with_files.py +28 -23
  169. flywheel/models/container_parents.py +33 -26
  170. flywheel/models/container_pipeline_input.py +73 -50
  171. flywheel/models/container_project_parents.py +0 -7
  172. flywheel/models/container_reference.py +13 -14
  173. flywheel/models/container_reference_with_label.py +18 -17
  174. flywheel/models/container_session_parents.py +0 -7
  175. flywheel/models/container_subject_parents.py +0 -7
  176. flywheel/models/container_type.py +2 -7
  177. flywheel/models/container_uidcheck.py +23 -20
  178. flywheel/models/container_update.py +3 -8
  179. flywheel/models/context_input.py +18 -17
  180. flywheel/models/copy_filter.py +33 -26
  181. flywheel/models/copy_status.py +0 -7
  182. flywheel/models/core_models_api_key_api_key_input.py +13 -14
  183. flywheel/models/core_models_audit_trail_create_report_input.py +28 -23
  184. flywheel/models/core_models_audit_trail_modify_report_input.py +8 -11
  185. flywheel/models/core_models_common_source.py +13 -14
  186. flywheel/models/core_models_jobs_api_key_input.py +13 -14
  187. flywheel/models/core_models_search_parent_type.py +0 -7
  188. flywheel/models/core_workflows_form_responses_models_form_parents.py +157 -15
  189. flywheel/models/core_workflows_form_responses_models_form_response_output.py +58 -41
  190. flywheel/models/core_workflows_reader_models_reader_task_parents.py +33 -26
  191. flywheel/models/creds.py +3 -8
  192. flywheel/models/curator.py +18 -17
  193. flywheel/models/current_user_output.py +108 -71
  194. flywheel/models/custom_field.py +61 -44
  195. flywheel/models/custom_form.py +23 -20
  196. flywheel/models/cvat_info.py +28 -23
  197. flywheel/models/cvat_settings.py +28 -23
  198. flywheel/models/cvat_settings_input.py +28 -23
  199. flywheel/models/cvat_sync_state.py +0 -7
  200. flywheel/models/daily_report_usage.py +78 -53
  201. flywheel/models/data_strategy.py +0 -7
  202. flywheel/models/data_view.py +0 -7
  203. flywheel/models/data_view_analysis_file_spec.py +18 -17
  204. flywheel/models/data_view_analysis_filter_spec.py +18 -17
  205. flywheel/models/data_view_column_alias.py +38 -29
  206. flywheel/models/data_view_column_spec.py +28 -23
  207. flywheel/models/data_view_execution.py +68 -47
  208. flywheel/models/data_view_execution_state.py +0 -7
  209. flywheel/models/data_view_file_spec.py +48 -35
  210. flywheel/models/data_view_group_by.py +8 -11
  211. flywheel/models/data_view_group_by_column.py +13 -14
  212. flywheel/models/data_view_name_filter_spec.py +13 -14
  213. flywheel/models/data_view_output.py +0 -7
  214. flywheel/models/data_view_save_data_view_input.py +0 -7
  215. flywheel/models/data_view_zip_filter_spec.py +18 -17
  216. flywheel/models/default_flywheel_role.py +0 -7
  217. flywheel/models/deid_log_skip_reason.py +0 -7
  218. flywheel/models/delete_by_search_query.py +23 -20
  219. flywheel/models/delete_status.py +25 -0
  220. flywheel/models/deleted_file.py +73 -50
  221. flywheel/models/deleted_result.py +50 -19
  222. flywheel/models/deprecated_action.py +0 -7
  223. flywheel/models/destination_container_type.py +0 -7
  224. flywheel/models/device.py +58 -41
  225. flywheel/models/device_admin_update.py +13 -14
  226. flywheel/models/device_create.py +18 -17
  227. flywheel/models/device_self_update.py +28 -23
  228. flywheel/models/device_status.py +0 -7
  229. flywheel/models/device_status_entry.py +18 -17
  230. flywheel/models/device_storage_strategy_update.py +13 -14
  231. flywheel/models/dimse_project_input.py +0 -7
  232. flywheel/models/dimse_project_output.py +0 -7
  233. flywheel/models/dimse_service_input.py +0 -7
  234. flywheel/models/dimse_service_output.py +0 -7
  235. flywheel/models/download.py +23 -20
  236. flywheel/models/download_container_filter.py +8 -11
  237. flywheel/models/download_container_filter_definition.py +18 -17
  238. flywheel/models/download_filter.py +18 -17
  239. flywheel/models/download_filter_definition.py +13 -14
  240. flywheel/models/download_format.py +0 -7
  241. flywheel/models/download_input.py +0 -7
  242. flywheel/models/download_node.py +13 -14
  243. flywheel/models/download_strategy.py +0 -7
  244. flywheel/models/download_ticket.py +0 -7
  245. flywheel/models/download_ticket_stub.py +23 -20
  246. flywheel/models/download_ticket_with_summary.py +0 -7
  247. flywheel/models/e_signature.py +23 -20
  248. flywheel/models/edition.py +8 -11
  249. flywheel/models/egress_device.py +88 -59
  250. flywheel/models/egress_device_page.py +18 -17
  251. flywheel/models/egress_provider.py +53 -38
  252. flywheel/models/egress_provider_id.py +8 -11
  253. flywheel/models/exchange_storage.py +23 -20
  254. flywheel/models/executor_info.py +43 -32
  255. flywheel/models/export_templates.py +13 -14
  256. flywheel/models/features.py +457 -307
  257. flywheel/models/field_change.py +28 -23
  258. flywheel/models/field_change_log_document.py +23 -20
  259. flywheel/models/field_type.py +0 -7
  260. flywheel/models/file.py +188 -119
  261. flywheel/models/file_classification_delta.py +23 -20
  262. flywheel/models/file_container_type.py +0 -7
  263. flywheel/models/file_entry.py +108 -71
  264. flywheel/models/file_export_templates.py +28 -23
  265. flywheel/models/file_format.py +0 -7
  266. flywheel/models/file_gear_info.py +18 -17
  267. flywheel/models/file_group.py +0 -7
  268. flywheel/models/file_list_output.py +183 -116
  269. flywheel/models/file_modify_input.py +13 -14
  270. flywheel/models/file_move_input.py +18 -17
  271. flywheel/models/file_node.py +188 -119
  272. flywheel/models/file_node_min.py +38 -29
  273. flywheel/models/file_origin.py +28 -23
  274. flywheel/models/file_output.py +183 -116
  275. flywheel/models/file_parents.py +33 -26
  276. flywheel/models/file_reference.py +18 -17
  277. flywheel/models/file_suggestion.py +23 -20
  278. flywheel/models/file_template_options.py +33 -26
  279. flywheel/models/file_upsert_input.py +88 -59
  280. flywheel/models/file_upsert_origin.py +0 -7
  281. flywheel/models/file_upsert_output.py +188 -119
  282. flywheel/models/file_version.py +13 -14
  283. flywheel/models/file_version_copy_of.py +28 -23
  284. flywheel/models/file_version_output.py +38 -29
  285. flywheel/models/file_via.py +23 -20
  286. flywheel/models/file_zip_entry.py +0 -7
  287. flywheel/models/file_zip_info.py +0 -7
  288. flywheel/models/filter.py +43 -32
  289. flywheel/models/filter_input.py +18 -17
  290. flywheel/models/filter_values.py +13 -14
  291. flywheel/models/filter_view.py +0 -7
  292. flywheel/models/fixed_file_version_input.py +18 -17
  293. flywheel/models/fixed_input.py +33 -26
  294. flywheel/models/form_definition.py +8 -11
  295. flywheel/models/form_response_base.py +33 -26
  296. flywheel/models/form_response_create.py +13 -14
  297. flywheel/models/gcp_creds.py +53 -38
  298. flywheel/models/gcp_storage.py +33 -26
  299. flywheel/models/gear.py +88 -59
  300. flywheel/models/gear_category.py +0 -7
  301. flywheel/models/gear_config.py +3 -8
  302. flywheel/models/gear_context_input.py +8 -11
  303. flywheel/models/gear_context_lookup.py +0 -7
  304. flywheel/models/gear_context_lookup_item.py +0 -7
  305. flywheel/models/gear_context_value_output.py +28 -23
  306. flywheel/models/gear_context_value_output_unfound.py +8 -11
  307. flywheel/models/gear_custom.py +3 -8
  308. flywheel/models/gear_directive.py +3 -8
  309. flywheel/models/gear_doc.py +0 -7
  310. flywheel/models/gear_document.py +38 -29
  311. flywheel/models/gear_document_input.py +33 -26
  312. flywheel/models/gear_document_legacy_input.py +33 -26
  313. flywheel/models/gear_environment.py +3 -8
  314. flywheel/models/gear_exchange.py +18 -17
  315. flywheel/models/gear_file_input.py +13 -14
  316. flywheel/models/gear_id_output.py +8 -11
  317. flywheel/models/gear_info.py +23 -20
  318. flywheel/models/gear_input_item.py +18 -17
  319. flywheel/models/gear_inputs.py +3 -8
  320. flywheel/models/gear_key_input.py +13 -14
  321. flywheel/models/gear_manifest.py +93 -62
  322. flywheel/models/gear_mixin.py +26 -6
  323. flywheel/models/gear_node.py +43 -32
  324. flywheel/models/gear_output_configuration.py +8 -11
  325. flywheel/models/gear_permissions.py +13 -14
  326. flywheel/models/gear_permissions_input.py +8 -11
  327. flywheel/models/gear_permissions_type.py +0 -7
  328. flywheel/models/gear_return_ticket.py +0 -7
  329. flywheel/models/gear_rule.py +133 -69
  330. flywheel/models/gear_rule_condition.py +18 -17
  331. flywheel/models/gear_rule_condition_type.py +0 -7
  332. flywheel/models/gear_rule_input.py +108 -54
  333. flywheel/models/gear_rule_modify_input.py +103 -51
  334. flywheel/models/gear_rule_output.py +133 -69
  335. flywheel/models/gear_save_submission.py +18 -17
  336. flywheel/models/gear_series.py +33 -26
  337. flywheel/models/gear_series_update.py +8 -11
  338. flywheel/models/gear_suggestion_output.py +33 -26
  339. flywheel/models/gear_ticket.py +23 -20
  340. flywheel/models/gear_ticket_output.py +8 -11
  341. flywheel/models/graph_filter.py +38 -29
  342. flywheel/models/group.py +0 -7
  343. flywheel/models/group_by.py +8 -11
  344. flywheel/models/group_by_column.py +0 -7
  345. flywheel/models/group_container_output.py +0 -7
  346. flywheel/models/group_input.py +23 -20
  347. flywheel/models/group_metadata_input.py +0 -7
  348. flywheel/models/group_node.py +0 -7
  349. flywheel/models/group_output.py +63 -44
  350. flywheel/models/group_report.py +18 -17
  351. flywheel/models/group_role.py +8 -11
  352. flywheel/models/group_settings_output.py +23 -20
  353. flywheel/models/group_update.py +23 -20
  354. flywheel/models/header_feature.py +0 -7
  355. flywheel/models/hierarchy_export_templates.py +28 -23
  356. flywheel/models/http_validation_error.py +8 -11
  357. flywheel/models/info.py +18 -17
  358. flywheel/models/info_add_remove.py +0 -7
  359. flywheel/models/info_container_type.py +0 -7
  360. flywheel/models/info_replace.py +0 -7
  361. flywheel/models/info_update_input.py +0 -7
  362. flywheel/models/ingress_provider.py +33 -26
  363. flywheel/models/ingress_providers.py +28 -23
  364. flywheel/models/ingress_site_settings.py +29 -52
  365. flywheel/models/ingress_update_provider.py +18 -17
  366. flywheel/models/inline_response200.py +8 -11
  367. flywheel/models/inline_response2001.py +8 -11
  368. flywheel/models/inline_response2002.py +8 -11
  369. flywheel/models/inline_response2003.py +0 -7
  370. flywheel/models/inline_response2005.py +0 -7
  371. flywheel/models/input_filter.py +18 -17
  372. flywheel/models/input_job.py +73 -50
  373. flywheel/models/input_job_profile.py +28 -23
  374. flywheel/models/inserted_id.py +8 -11
  375. flywheel/models/job.py +128 -83
  376. flywheel/models/job_analysis_input.py +28 -23
  377. flywheel/models/job_ask.py +33 -26
  378. flywheel/models/job_ask_response.py +13 -14
  379. flywheel/models/job_ask_response_job.py +158 -101
  380. flywheel/models/job_ask_return.py +0 -7
  381. flywheel/models/job_ask_return_criteria.py +23 -20
  382. flywheel/models/job_ask_state.py +0 -7
  383. flywheel/models/job_ask_state_response.py +8 -11
  384. flywheel/models/job_complete.py +18 -17
  385. flywheel/models/job_completion_input.py +0 -7
  386. flywheel/models/job_completion_ticket.py +0 -7
  387. flywheel/models/job_config.py +3 -8
  388. flywheel/models/job_config_input.py +28 -23
  389. flywheel/models/job_config_inputs.py +0 -7
  390. flywheel/models/job_config_output.py +0 -7
  391. flywheel/models/job_container_detail.py +0 -7
  392. flywheel/models/job_destination.py +13 -14
  393. flywheel/models/job_detail.py +148 -95
  394. flywheel/models/job_detail_container.py +13 -14
  395. flywheel/models/job_detail_file_entry.py +13 -14
  396. flywheel/models/job_detail_group.py +13 -14
  397. flywheel/models/job_detail_parent_info.py +33 -26
  398. flywheel/models/job_executor_info.py +43 -32
  399. flywheel/models/job_file_input.py +23 -20
  400. flywheel/models/job_file_input_list_output.py +23 -20
  401. flywheel/models/job_file_object.py +58 -41
  402. flywheel/models/job_file_object_list_output.py +53 -38
  403. flywheel/models/job_gear_match.py +0 -7
  404. flywheel/models/job_inputs_array_item.py +33 -26
  405. flywheel/models/job_inputs_item.py +23 -20
  406. flywheel/models/job_inputs_object.py +3 -8
  407. flywheel/models/job_list_entry.py +0 -7
  408. flywheel/models/job_list_output.py +158 -101
  409. flywheel/models/job_list_output_config.py +18 -17
  410. flywheel/models/job_log.py +13 -14
  411. flywheel/models/job_log_column.py +0 -7
  412. flywheel/models/job_log_record.py +13 -14
  413. flywheel/models/job_modify.py +13 -14
  414. flywheel/models/job_origin.py +13 -14
  415. flywheel/models/job_output.py +163 -104
  416. flywheel/models/job_output_config.py +23 -20
  417. flywheel/models/job_parents.py +33 -26
  418. flywheel/models/job_priority.py +0 -7
  419. flywheel/models/job_priority_update.py +13 -14
  420. flywheel/models/job_profile.py +53 -38
  421. flywheel/models/job_profile_input.py +0 -7
  422. flywheel/models/job_request.py +18 -17
  423. flywheel/models/job_request_item.py +23 -20
  424. flywheel/models/job_request_item_type.py +0 -7
  425. flywheel/models/job_request_target.py +28 -23
  426. flywheel/models/job_state.py +0 -7
  427. flywheel/models/job_state_counts.py +0 -7
  428. flywheel/models/job_stats_by_state.py +0 -7
  429. flywheel/models/job_ticket_output.py +8 -11
  430. flywheel/models/job_transition_times.py +23 -20
  431. flywheel/models/job_version_info.py +3 -8
  432. flywheel/models/jobs_by_state.py +28 -23
  433. flywheel/models/jobs_list.py +8 -11
  434. flywheel/models/join_origin_device.py +8 -11
  435. flywheel/models/join_origin_job.py +18 -17
  436. flywheel/models/join_origin_user.py +13 -14
  437. flywheel/models/join_origins.py +18 -17
  438. flywheel/models/join_type.py +0 -7
  439. flywheel/models/jupyterhub_workspace.py +8 -11
  440. flywheel/models/jupyterlab_server_modify.py +28 -23
  441. flywheel/models/jupyterlab_server_origin.py +0 -7
  442. flywheel/models/jupyterlab_server_output.py +0 -7
  443. flywheel/models/jupyterlab_server_response.py +53 -38
  444. flywheel/models/jupyterlab_server_update.py +0 -7
  445. flywheel/models/ldap_sync.py +0 -7
  446. flywheel/models/ldap_sync_config.py +8 -11
  447. flywheel/models/ldap_sync_input.py +0 -7
  448. flywheel/models/ldap_sync_status.py +23 -20
  449. flywheel/models/legacy_api_key_output.py +28 -23
  450. flywheel/models/legacy_input.py +23 -20
  451. flywheel/models/legacy_usage_report.py +33 -26
  452. flywheel/models/legacys_usage_project_entry.py +13 -14
  453. flywheel/models/libs_viewer_config_models_viewer_config.py +194 -0
  454. flywheel/models/libs_workflows_models_parent_type.py +0 -7
  455. flywheel/models/libs_workflows_models_task_status.py +0 -7
  456. flywheel/models/local_storage.py +18 -17
  457. flywheel/models/location.py +13 -14
  458. flywheel/models/locked.py +18 -17
  459. flywheel/models/master_subject_code_dob_input.py +28 -23
  460. flywheel/models/master_subject_code_input.py +28 -23
  461. flywheel/models/master_subject_code_output.py +8 -11
  462. flywheel/models/matched_acquisition_output.py +73 -50
  463. flywheel/models/measurement_config.py +222 -0
  464. flywheel/models/measurement_item_config.py +217 -0
  465. flywheel/models/mfa_channel.py +0 -7
  466. flywheel/models/mfa_settings.py +8 -11
  467. flywheel/models/ml_set_filter.py +13 -14
  468. flywheel/models/ml_type.py +0 -7
  469. flywheel/models/modality.py +23 -20
  470. flywheel/models/modality_input.py +23 -20
  471. flywheel/models/modality_modify.py +18 -17
  472. flywheel/models/modality_output.py +28 -23
  473. flywheel/models/modified_result.py +13 -14
  474. flywheel/models/modify_user_input.py +63 -44
  475. flywheel/models/move_conflict.py +33 -26
  476. flywheel/models/note.py +48 -35
  477. flywheel/models/note_input.py +8 -11
  478. flywheel/models/optional_input_policy.py +0 -7
  479. flywheel/models/order.py +0 -7
  480. flywheel/models/organ_system.py +0 -7
  481. flywheel/models/origin.py +13 -14
  482. flywheel/models/origin_type.py +0 -7
  483. flywheel/models/orphaned_count.py +8 -11
  484. flywheel/models/output_user_page.py +18 -17
  485. flywheel/models/packfile_cleanup_output.py +8 -11
  486. flywheel/models/packfile_removed_output.py +13 -14
  487. flywheel/models/page.py +18 -17
  488. flywheel/models/page_generic_file_output.py +18 -17
  489. flywheel/models/page_generic_filter.py +18 -17
  490. flywheel/models/page_generic_form_response_output.py +18 -17
  491. flywheel/models/page_generic_protocol.py +23 -20
  492. flywheel/models/page_generic_reader_task_output.py +23 -20
  493. flywheel/models/page_generic_staffing_pool.py +23 -20
  494. flywheel/models/parsed_query_response.py +13 -14
  495. flywheel/models/permission_access_permission.py +0 -7
  496. flywheel/models/premade_jobs_batch_job_output.py +33 -26
  497. flywheel/models/premade_jobs_batch_job_output_inflated_jobs.py +33 -26
  498. flywheel/models/premade_jobs_batch_proposal.py +38 -29
  499. flywheel/models/premade_jobs_batch_proposal_detail.py +8 -11
  500. flywheel/models/premade_jobs_batch_proposal_input.py +8 -11
  501. flywheel/models/project.py +0 -7
  502. flywheel/models/project_acquisition_upsert_input.py +0 -7
  503. flywheel/models/project_acquisition_upsert_output.py +0 -7
  504. flywheel/models/project_aet.py +38 -29
  505. flywheel/models/project_aet_input.py +23 -20
  506. flywheel/models/project_catalog_list_output.py +0 -7
  507. flywheel/models/project_contact.py +13 -14
  508. flywheel/models/project_container_output.py +2 -7
  509. flywheel/models/project_copy_input.py +23 -20
  510. flywheel/models/project_copy_output.py +18 -17
  511. flywheel/models/project_counters.py +76 -36
  512. flywheel/models/project_delete_status_output.py +192 -0
  513. flywheel/models/project_group_info.py +189 -0
  514. flywheel/models/project_hierarchy_input.py +28 -23
  515. flywheel/models/project_hierarchy_output.py +18 -17
  516. flywheel/models/project_hierarchy_upsert_input.py +0 -7
  517. flywheel/models/project_hierarchy_upsert_output.py +0 -7
  518. flywheel/models/project_input.py +48 -35
  519. flywheel/models/project_institution.py +13 -14
  520. flywheel/models/project_list_output.py +234 -93
  521. flywheel/models/project_locking_reason.py +0 -7
  522. flywheel/models/project_modify.py +116 -42
  523. flywheel/models/project_node.py +2 -7
  524. flywheel/models/project_output.py +235 -93
  525. flywheel/models/project_parents.py +8 -11
  526. flywheel/models/project_report.py +63 -44
  527. flywheel/models/project_report_list.py +8 -11
  528. flywheel/models/project_session_upsert_input.py +0 -7
  529. flywheel/models/project_session_upsert_output.py +0 -7
  530. flywheel/models/project_settings_input.py +38 -29
  531. flywheel/models/project_settings_output.py +38 -29
  532. flywheel/models/project_settings_sharing.py +38 -29
  533. flywheel/models/project_settings_sharing_input.py +38 -29
  534. flywheel/models/project_settings_workspaces.py +8 -11
  535. flywheel/models/project_settings_workspaces_input.py +8 -11
  536. flywheel/models/project_share_level.py +0 -7
  537. flywheel/models/project_sharing_settings_project_contact.py +0 -7
  538. flywheel/models/project_sharing_settings_project_counters.py +0 -7
  539. flywheel/models/project_sharing_settings_project_institution.py +0 -7
  540. flywheel/models/project_sharing_settings_project_settings_input.py +0 -7
  541. flywheel/models/project_sharing_settings_project_settings_output.py +0 -7
  542. flywheel/models/project_sharing_settings_project_settings_sharing.py +0 -7
  543. flywheel/models/project_sharing_settings_project_settings_sharing_input.py +0 -7
  544. flywheel/models/project_sharing_settings_project_stats.py +0 -7
  545. flywheel/models/project_stats.py +28 -23
  546. flywheel/models/project_subject_upsert_input.py +0 -7
  547. flywheel/models/project_subject_upsert_output.py +0 -7
  548. flywheel/models/project_template.py +13 -14
  549. flywheel/models/project_template_input.py +13 -14
  550. flywheel/models/project_template_list_input.py +8 -11
  551. flywheel/models/project_template_requirement.py +0 -7
  552. flywheel/models/project_template_session_template.py +0 -7
  553. flywheel/models/project_upsert_origin.py +0 -7
  554. flywheel/models/protocol.py +78 -53
  555. flywheel/models/protocol_e_signature_config.py +13 -14
  556. flywheel/models/protocol_input.py +43 -32
  557. flywheel/models/protocol_modify.py +28 -23
  558. flywheel/models/protocol_status.py +0 -7
  559. flywheel/models/provider.py +63 -44
  560. flywheel/models/provider_access_type.py +0 -7
  561. flywheel/models/provider_class.py +0 -7
  562. flywheel/models/provider_deletion_status.py +13 -14
  563. flywheel/models/provider_input.py +0 -7
  564. flywheel/models/provider_links.py +28 -23
  565. flywheel/models/provider_type.py +0 -7
  566. flywheel/models/providers.py +28 -23
  567. flywheel/models/reader_batch_create.py +63 -44
  568. flywheel/models/reader_task.py +113 -74
  569. flywheel/models/reader_task_config.py +49 -18
  570. flywheel/models/reader_task_create.py +78 -53
  571. flywheel/models/reader_task_modify.py +33 -26
  572. flywheel/models/reader_task_output.py +118 -77
  573. flywheel/models/reader_task_parent_details.py +38 -29
  574. flywheel/models/report_access_log_context.py +33 -26
  575. flywheel/models/report_access_log_context_entry.py +13 -14
  576. flywheel/models/report_access_log_context_file_entry.py +8 -11
  577. flywheel/models/report_access_log_entry.py +88 -59
  578. flywheel/models/report_access_log_origin.py +13 -14
  579. flywheel/models/report_availability_list.py +8 -11
  580. flywheel/models/report_daily_usage_entry.py +68 -47
  581. flywheel/models/report_demographics_grid.py +0 -7
  582. flywheel/models/report_ethnicity_grid.py +23 -20
  583. flywheel/models/report_gender_count.py +18 -17
  584. flywheel/models/report_group_report.py +18 -17
  585. flywheel/models/report_legacy_usage_entry.py +0 -7
  586. flywheel/models/report_legacy_usage_project_entry.py +0 -7
  587. flywheel/models/report_project.py +0 -7
  588. flywheel/models/report_site.py +13 -14
  589. flywheel/models/report_time_period.py +13 -14
  590. flywheel/models/report_usage.py +88 -59
  591. flywheel/models/report_usage_entry.py +0 -7
  592. flywheel/models/resolve_input.py +8 -11
  593. flywheel/models/resolve_output.py +13 -14
  594. flywheel/models/resolver_acquisition_node.py +0 -7
  595. flywheel/models/resolver_analysis_node.py +0 -7
  596. flywheel/models/resolver_file_node.py +0 -7
  597. flywheel/models/resolver_gear_node.py +0 -7
  598. flywheel/models/resolver_group_node.py +0 -7
  599. flywheel/models/resolver_input.py +0 -7
  600. flywheel/models/resolver_node.py +8 -11
  601. flywheel/models/resolver_output.py +0 -7
  602. flywheel/models/resolver_project_node.py +0 -7
  603. flywheel/models/resolver_session_node.py +0 -7
  604. flywheel/models/resolver_subject_node.py +0 -7
  605. flywheel/models/role_input.py +13 -14
  606. flywheel/models/role_output.py +28 -23
  607. flywheel/models/role_permission.py +13 -14
  608. flywheel/models/role_permission_output.py +13 -14
  609. flywheel/models/role_permission_update.py +8 -11
  610. flywheel/models/role_type.py +0 -7
  611. flywheel/models/role_update.py +13 -14
  612. flywheel/models/roles_backwards_compatible_role_assignment.py +0 -7
  613. flywheel/models/roles_group_role_pool_input.py +0 -7
  614. flywheel/models/roles_role.py +0 -7
  615. flywheel/models/roles_role_assignment.py +13 -14
  616. flywheel/models/roles_role_input.py +0 -7
  617. flywheel/models/rule.py +63 -44
  618. flywheel/models/rule_any.py +18 -17
  619. flywheel/models/s3_addressing_style.py +0 -7
  620. flywheel/models/s3_compat_storage.py +48 -35
  621. flywheel/models/save_search.py +33 -26
  622. flywheel/models/save_search_input.py +18 -17
  623. flywheel/models/save_search_output.py +33 -26
  624. flywheel/models/save_search_page.py +18 -17
  625. flywheel/models/save_search_parent.py +13 -14
  626. flywheel/models/save_search_update.py +13 -14
  627. flywheel/models/search_acquisition_response.py +23 -20
  628. flywheel/models/search_analysis_response.py +23 -20
  629. flywheel/models/search_collection_response.py +23 -20
  630. flywheel/models/search_file_response.py +33 -26
  631. flywheel/models/search_group_response.py +13 -14
  632. flywheel/models/search_parent_acquisition.py +0 -7
  633. flywheel/models/search_parent_analysis.py +0 -7
  634. flywheel/models/search_parent_collection.py +0 -7
  635. flywheel/models/search_parent_project.py +2 -7
  636. flywheel/models/search_parent_response.py +13 -14
  637. flywheel/models/search_parent_session.py +0 -7
  638. flywheel/models/search_parent_subject.py +0 -7
  639. flywheel/models/search_parse_error.py +23 -20
  640. flywheel/models/search_parse_search_query_result.py +0 -7
  641. flywheel/models/search_project_response.py +13 -14
  642. flywheel/models/search_query.py +38 -29
  643. flywheel/models/search_query_suggestions.py +0 -7
  644. flywheel/models/search_response.py +58 -41
  645. flywheel/models/search_return_type.py +0 -7
  646. flywheel/models/search_save_search.py +0 -7
  647. flywheel/models/search_save_search_input.py +0 -7
  648. flywheel/models/search_save_search_parent.py +0 -7
  649. flywheel/models/search_save_search_update.py +0 -7
  650. flywheel/models/search_session_response.py +23 -20
  651. flywheel/models/search_status.py +8 -11
  652. flywheel/models/search_structured_search_query.py +0 -7
  653. flywheel/models/search_subject_response.py +18 -17
  654. flywheel/models/search_suggestion.py +0 -7
  655. flywheel/models/select_item.py +13 -14
  656. flywheel/models/server_state.py +33 -26
  657. flywheel/models/service_aet.py +33 -26
  658. flywheel/models/service_aet_input.py +28 -23
  659. flywheel/models/session.py +0 -7
  660. flywheel/models/session_container_output.py +0 -7
  661. flywheel/models/session_copy_input.py +23 -20
  662. flywheel/models/session_embedded_subject.py +33 -26
  663. flywheel/models/session_input.py +58 -41
  664. flywheel/models/session_list_output.py +143 -92
  665. flywheel/models/session_metadata_input.py +0 -7
  666. flywheel/models/session_modify.py +63 -44
  667. flywheel/models/session_node.py +0 -7
  668. flywheel/models/session_output.py +143 -92
  669. flywheel/models/session_parents.py +18 -17
  670. flywheel/models/session_template_options.py +18 -17
  671. flywheel/models/session_template_recalc_output.py +8 -11
  672. flywheel/models/session_upsert_input.py +63 -44
  673. flywheel/models/session_upsert_output.py +23 -20
  674. flywheel/models/sharing_filter_options.py +43 -32
  675. flywheel/models/signed_fs_upload_output.py +13 -14
  676. flywheel/models/signed_url_cleanup_input.py +13 -14
  677. flywheel/models/signed_url_upload_input.py +13 -14
  678. flywheel/models/signed_url_upload_output.py +43 -32
  679. flywheel/models/site.py +93 -62
  680. flywheel/models/site_report.py +13 -14
  681. flywheel/models/site_settings.py +48 -35
  682. flywheel/models/sort.py +13 -14
  683. flywheel/models/stable_api_key_input.py +0 -7
  684. flywheel/models/staffing_pool.py +38 -29
  685. flywheel/models/staffing_pool_create.py +18 -17
  686. flywheel/models/staffing_pool_list.py +8 -11
  687. flywheel/models/staffing_pool_modify.py +18 -17
  688. flywheel/models/state.py +0 -7
  689. flywheel/models/static_compute.py +18 -17
  690. flywheel/models/status_transitions.py +23 -20
  691. flywheel/models/status_type.py +0 -7
  692. flywheel/models/status_value.py +0 -7
  693. flywheel/models/storage_strategy.py +0 -7
  694. flywheel/models/storage_strategy_config.py +13 -14
  695. flywheel/models/structured_query.py +8 -11
  696. flywheel/models/structured_query_suggestions.py +13 -14
  697. flywheel/models/structured_query_value_suggestion.py +23 -20
  698. flywheel/models/subject.py +0 -7
  699. flywheel/models/subject_container_output.py +0 -7
  700. flywheel/models/subject_copy_input.py +18 -17
  701. flywheel/models/subject_input.py +93 -62
  702. flywheel/models/subject_modify.py +103 -68
  703. flywheel/models/subject_node.py +0 -7
  704. flywheel/models/subject_output.py +163 -104
  705. flywheel/models/subject_output_for_list.py +163 -104
  706. flywheel/models/subject_parents.py +13 -14
  707. flywheel/models/subject_role_permission.py +13 -14
  708. flywheel/models/subject_state.py +0 -7
  709. flywheel/models/subject_template_options.py +13 -14
  710. flywheel/models/subject_upsert_input.py +83 -56
  711. flywheel/models/subject_upsert_output.py +18 -17
  712. flywheel/models/sync_user_input.py +38 -29
  713. flywheel/models/tag.py +8 -11
  714. flywheel/models/task_assign.py +13 -14
  715. flywheel/models/task_facet.py +0 -7
  716. flywheel/models/task_parent_ref.py +23 -20
  717. flywheel/models/task_parent_ref_input.py +18 -17
  718. flywheel/models/task_priority.py +0 -7
  719. flywheel/models/task_submission.py +13 -14
  720. flywheel/models/therapeutic_area.py +0 -7
  721. flywheel/models/toolbar_config.py +161 -0
  722. flywheel/models/transitions.py +28 -23
  723. flywheel/models/tree_container_request_spec.py +28 -23
  724. flywheel/models/tree_graph.py +3 -8
  725. flywheel/models/tree_graph_connection.py +23 -20
  726. flywheel/models/tree_graph_connections.py +3 -8
  727. flywheel/models/tree_graph_node.py +8 -11
  728. flywheel/models/tree_request.py +0 -7
  729. flywheel/models/tree_response_item.py +3 -8
  730. flywheel/models/type_str.py +0 -7
  731. flywheel/models/uid_check_input_acquisitions.py +23 -20
  732. flywheel/models/uid_check_input_sessions.py +23 -20
  733. flywheel/models/uid_check_output.py +13 -14
  734. flywheel/models/upload_complete_s3_multipart_input.py +0 -7
  735. flywheel/models/upload_complete_s3_multipart_output.py +0 -7
  736. flywheel/models/upload_signed_fs_file_upload_output.py +0 -7
  737. flywheel/models/upload_signed_upload_url_input.py +0 -7
  738. flywheel/models/upload_signed_upload_url_output.py +0 -7
  739. flywheel/models/upload_ticket_output.py +18 -17
  740. flywheel/models/upload_token_output.py +8 -11
  741. flywheel/models/upsert_result.py +0 -7
  742. flywheel/models/user.py +113 -74
  743. flywheel/models/user_api_key.py +18 -17
  744. flywheel/models/user_input.py +63 -44
  745. flywheel/models/user_jobs.py +18 -17
  746. flywheel/models/user_jobs_output.py +0 -7
  747. flywheel/models/user_output.py +0 -7
  748. flywheel/models/user_output_id.py +8 -11
  749. flywheel/models/user_preferences.py +3 -8
  750. flywheel/models/user_wechat.py +3 -8
  751. flywheel/models/validation_error.py +18 -17
  752. flywheel/models/validation_rule.py +13 -14
  753. flywheel/models/version.py +43 -32
  754. flywheel/models/version_output.py +0 -7
  755. flywheel/models/view_id_output.py +8 -11
  756. flywheel/models/view_output.py +58 -41
  757. flywheel/models/viewer_app.py +48 -35
  758. flywheel/models/viewer_app_input.py +48 -35
  759. flywheel/models/viewer_app_type.py +0 -7
  760. flywheel/models/virus_scan.py +8 -11
  761. flywheel/models/virus_scan_state.py +0 -7
  762. flywheel/models/work_in_progress_features.py +3 -8
  763. flywheel/models/zipfile_info.py +13 -14
  764. flywheel/models/zipfile_member_info.py +23 -20
  765. flywheel/partial_reader.py +0 -7
  766. flywheel/rest.py +0 -7
  767. flywheel/view_builder.py +2 -1
  768. {flywheel_sdk-21.3.0rc0.dist-info → flywheel_sdk-21.4.0.dist-info}/METADATA +1 -1
  769. flywheel_sdk-21.4.0.dist-info/RECORD +778 -0
  770. {flywheel_sdk-21.3.0rc0.dist-info → flywheel_sdk-21.4.0.dist-info}/WHEEL +1 -1
  771. flywheel/models/google_auth_out.py +0 -299
  772. flywheel_sdk-21.3.0rc0.dist-info/RECORD +0 -772
  773. {flywheel_sdk-21.3.0rc0.dist-info → flywheel_sdk-21.4.0.dist-info}/licenses/LICENSE.txt +0 -0
flywheel/api/views_api.py CHANGED
@@ -1,13 +1,6 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- Flywheel
5
-
6
- No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
-
8
- OpenAPI spec version: 0.0.1
9
-
10
- Generated by: https://github.com/swagger-api/swagger-codegen.git
11
4
  """
12
5
 
13
6
 
@@ -36,8 +29,9 @@ class ViewsApi(object):
36
29
 
37
30
  This method makes a synchronous HTTP request by default.
38
31
 
39
- :param bool async_: Perform the request asynchronously
40
- :return: list[DataViewColumnAlias]
32
+ :param async_: Perform the request asynchronously
33
+ :type async_: bool, optional
34
+ :rtype: list[DataViewColumnAlias]
41
35
  """
42
36
  ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
43
37
  kwargs['_return_http_data_only'] = True
@@ -60,8 +54,9 @@ class ViewsApi(object):
60
54
 
61
55
  This method makes a synchronous HTTP request by default.
62
56
 
63
- :param bool async_: Perform the request asynchronously
64
- :return: list[DataViewColumnAlias]
57
+ :param async_: Perform the request asynchronously
58
+ :type async_: bool, optional
59
+ :rtype: list[DataViewColumnAlias]
65
60
  """
66
61
 
67
62
  all_params = [] # noqa: E501
@@ -124,9 +119,11 @@ class ViewsApi(object):
124
119
  Soft deletes data view in database
125
120
  This method makes a synchronous HTTP request by default.
126
121
 
127
- :param str view_id: The ID of the view (required)
128
- :param bool async_: Perform the request asynchronously
129
- :return: DeletedResult
122
+ :param view_id: The ID of the view
123
+ :type view_id: str
124
+ :param async_: Perform the request asynchronously
125
+ :type async_: bool, optional
126
+ :rtype: DeletedResult
130
127
  """
131
128
  ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
132
129
  kwargs['_return_http_data_only'] = True
@@ -150,9 +147,11 @@ class ViewsApi(object):
150
147
  Soft deletes data view in database
151
148
  This method makes a synchronous HTTP request by default.
152
149
 
153
- :param str view_id: The ID of the view (required)
154
- :param bool async_: Perform the request asynchronously
155
- :return: DeletedResult
150
+ :param view_id: The ID of the view
151
+ :type view_id: str
152
+ :param async_: Perform the request asynchronously
153
+ :type async_: bool, optional
154
+ :rtype: DeletedResult
156
155
  """
157
156
 
158
157
  all_params = ['view_id',] # noqa: E501
@@ -220,17 +219,27 @@ class ViewsApi(object):
220
219
 
221
220
  This method makes a synchronous HTTP request by default.
222
221
 
223
- :param str view_id: The ID of the view (required)
224
- :param str container_id: The target container for view execution (required)
225
- :param str ticket: download ticket id
226
- :param str filename: download ticket filename
227
- :param FileFormat format: Available values : csv, tsv, json, ndjson, json_flat, json-row-column
228
- :param str sort: The sort fields and order.(e.g. label:asc,created:desc)
229
- :param str filter: An optional filter expression
230
- :param int skip: The optional number of rows to skip
231
- :param int limit: The optional max number of rows to return
232
- :param bool async_: Perform the request asynchronously
233
- :return: None
222
+ :param view_id: The ID of the view
223
+ :type view_id: str
224
+ :param container_id: The target container for view execution
225
+ :type container_id: str
226
+ :param ticket: download ticket id
227
+ :type ticket: str, optional
228
+ :param filename: download ticket filename, defaults to view-data
229
+ :type filename: str, optional
230
+ :param format: Available values : csv, tsv, json, ndjson, json_flat, json-row-column
231
+ :type format: FileFormat, optional
232
+ :param sort: The sort fields and order.(e.g. label:asc,created:desc)
233
+ :type sort: str, optional
234
+ :param filter: An optional filter expression
235
+ :type filter: str, optional
236
+ :param skip: The optional number of rows to skip
237
+ :type skip: int, optional
238
+ :param limit: The optional max number of rows to return
239
+ :type limit: int, optional
240
+ :param async_: Perform the request asynchronously
241
+ :type async_: bool, optional
242
+ :rtype: None
234
243
  """
235
244
  ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
236
245
  kwargs['_return_http_data_only'] = True
@@ -253,17 +262,27 @@ class ViewsApi(object):
253
262
 
254
263
  This method makes a synchronous HTTP request by default.
255
264
 
256
- :param str view_id: The ID of the view (required)
257
- :param str container_id: The target container for view execution (required)
258
- :param str ticket: download ticket id
259
- :param str filename: download ticket filename
260
- :param FileFormat format: Available values : csv, tsv, json, ndjson, json_flat, json-row-column
261
- :param str sort: The sort fields and order.(e.g. label:asc,created:desc)
262
- :param str filter: An optional filter expression
263
- :param int skip: The optional number of rows to skip
264
- :param int limit: The optional max number of rows to return
265
- :param bool async_: Perform the request asynchronously
266
- :return: None
265
+ :param view_id: The ID of the view
266
+ :type view_id: str
267
+ :param container_id: The target container for view execution
268
+ :type container_id: str
269
+ :param ticket: download ticket id
270
+ :type ticket: str, optional
271
+ :param filename: download ticket filename, defaults to view-data
272
+ :type filename: str, optional
273
+ :param format: Available values : csv, tsv, json, ndjson, json_flat, json-row-column
274
+ :type format: FileFormat, optional
275
+ :param sort: The sort fields and order.(e.g. label:asc,created:desc)
276
+ :type sort: str, optional
277
+ :param filter: An optional filter expression
278
+ :type filter: str, optional
279
+ :param skip: The optional number of rows to skip
280
+ :type skip: int, optional
281
+ :param limit: The optional max number of rows to return
282
+ :type limit: int, optional
283
+ :param async_: Perform the request asynchronously
284
+ :type async_: bool, optional
285
+ :rtype: None
267
286
  """
268
287
 
269
288
  all_params = ['view_id','container_id','ticket','filename','format','sort','filter','skip','limit',] # noqa: E501
@@ -351,17 +370,27 @@ class ViewsApi(object):
351
370
 
352
371
  This method makes a synchronous HTTP request by default.
353
372
 
354
- :param str container_id: The target container for view execution (required)
355
- :param ContainerPipelineInput body: (required)
356
- :param str filename: download ticket filename
357
- :param FileFormat format: Available values : csv, tsv, json, ndjson, json_flat, json-row-column
358
- :param str ticket: download ticket id
359
- :param str sort: The sort fields and order.(e.g. label:asc,created:desc)
360
- :param str filter: An optional filter expression
361
- :param int skip: The optional number of rows to skip
362
- :param int limit: The optional max number of rows to return
363
- :param bool async_: Perform the request asynchronously
364
- :return: None
373
+ :param container_id: The target container for view execution
374
+ :type container_id: str
375
+ :param body:
376
+ :type body: ContainerPipelineInput
377
+ :param filename: download ticket filename, defaults to view-data
378
+ :type filename: str, optional
379
+ :param format: Available values : csv, tsv, json, ndjson, json_flat, json-row-column
380
+ :type format: FileFormat, optional
381
+ :param ticket: download ticket id
382
+ :type ticket: str, optional
383
+ :param sort: The sort fields and order.(e.g. label:asc,created:desc)
384
+ :type sort: str, optional
385
+ :param filter: An optional filter expression
386
+ :type filter: str, optional
387
+ :param skip: The optional number of rows to skip
388
+ :type skip: int, optional
389
+ :param limit: The optional max number of rows to return
390
+ :type limit: int, optional
391
+ :param async_: Perform the request asynchronously
392
+ :type async_: bool, optional
393
+ :rtype: None
365
394
  """
366
395
  ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
367
396
  kwargs['_return_http_data_only'] = True
@@ -384,17 +413,27 @@ class ViewsApi(object):
384
413
 
385
414
  This method makes a synchronous HTTP request by default.
386
415
 
387
- :param str container_id: The target container for view execution (required)
388
- :param ContainerPipelineInput body: (required)
389
- :param str filename: download ticket filename
390
- :param FileFormat format: Available values : csv, tsv, json, ndjson, json_flat, json-row-column
391
- :param str ticket: download ticket id
392
- :param str sort: The sort fields and order.(e.g. label:asc,created:desc)
393
- :param str filter: An optional filter expression
394
- :param int skip: The optional number of rows to skip
395
- :param int limit: The optional max number of rows to return
396
- :param bool async_: Perform the request asynchronously
397
- :return: None
416
+ :param container_id: The target container for view execution
417
+ :type container_id: str
418
+ :param body:
419
+ :type body: ContainerPipelineInput
420
+ :param filename: download ticket filename, defaults to view-data
421
+ :type filename: str, optional
422
+ :param format: Available values : csv, tsv, json, ndjson, json_flat, json-row-column
423
+ :type format: FileFormat, optional
424
+ :param ticket: download ticket id
425
+ :type ticket: str, optional
426
+ :param sort: The sort fields and order.(e.g. label:asc,created:desc)
427
+ :type sort: str, optional
428
+ :param filter: An optional filter expression
429
+ :type filter: str, optional
430
+ :param skip: The optional number of rows to skip
431
+ :type skip: int, optional
432
+ :param limit: The optional max number of rows to return
433
+ :type limit: int, optional
434
+ :param async_: Perform the request asynchronously
435
+ :type async_: bool, optional
436
+ :rtype: None
398
437
  """
399
438
 
400
439
  all_params = ['container_id','body','filename','format','ticket','sort','filter','skip','limit',] # noqa: E501
@@ -493,9 +532,11 @@ class ViewsApi(object):
493
532
 
494
533
  This method makes a synchronous HTTP request by default.
495
534
 
496
- :param str view_id: The ID of the view (required)
497
- :param bool async_: Perform the request asynchronously
498
- :return: ViewOutput
535
+ :param view_id: The ID of the view
536
+ :type view_id: str
537
+ :param async_: Perform the request asynchronously
538
+ :type async_: bool, optional
539
+ :rtype: ViewOutput
499
540
  """
500
541
  ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
501
542
  kwargs['_return_http_data_only'] = True
@@ -518,9 +559,11 @@ class ViewsApi(object):
518
559
 
519
560
  This method makes a synchronous HTTP request by default.
520
561
 
521
- :param str view_id: The ID of the view (required)
522
- :param bool async_: Perform the request asynchronously
523
- :return: ViewOutput
562
+ :param view_id: The ID of the view
563
+ :type view_id: str
564
+ :param async_: Perform the request asynchronously
565
+ :type async_: bool, optional
566
+ :rtype: ViewOutput
524
567
  """
525
568
 
526
569
  all_params = ['view_id',] # noqa: E501
@@ -588,10 +631,13 @@ class ViewsApi(object):
588
631
 
589
632
  This method makes a synchronous HTTP request by default.
590
633
 
591
- :param str view_id: The ID of the view (required)
592
- :param ContainerModify body: (required)
593
- :param bool async_: Perform the request asynchronously
594
- :return: ModifiedResult
634
+ :param view_id: The ID of the view
635
+ :type view_id: str
636
+ :param body:
637
+ :type body: ContainerModify
638
+ :param async_: Perform the request asynchronously
639
+ :type async_: bool, optional
640
+ :rtype: ModifiedResult
595
641
  """
596
642
  ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
597
643
  kwargs['_return_http_data_only'] = True
@@ -614,10 +660,13 @@ class ViewsApi(object):
614
660
 
615
661
  This method makes a synchronous HTTP request by default.
616
662
 
617
- :param str view_id: The ID of the view (required)
618
- :param ContainerModify body: (required)
619
- :param bool async_: Perform the request asynchronously
620
- :return: ModifiedResult
663
+ :param view_id: The ID of the view
664
+ :type view_id: str
665
+ :param body:
666
+ :type body: ContainerModify
667
+ :param async_: Perform the request asynchronously
668
+ :type async_: bool, optional
669
+ :rtype: ModifiedResult
621
670
  """
622
671
 
623
672
  all_params = ['view_id','body',] # noqa: E501
@@ -702,14 +751,21 @@ class ViewsApi(object):
702
751
 
703
752
  This method makes a synchronous HTTP request by default.
704
753
 
705
- :param str container_id: The target container for view execution (required)
706
- :param ContainerPipelineInput body: (required)
707
- :param str sort: The sort fields and order.(e.g. label:asc,created:desc)
708
- :param str filter: An optional filter expression
709
- :param int skip: The optional number of rows to skip
710
- :param int limit: The optional max number of rows to return
711
- :param bool async_: Perform the request asynchronously
712
- :return: DataViewExecution
754
+ :param container_id: The target container for view execution
755
+ :type container_id: str
756
+ :param body:
757
+ :type body: ContainerPipelineInput
758
+ :param sort: The sort fields and order.(e.g. label:asc,created:desc)
759
+ :type sort: str, optional
760
+ :param filter: An optional filter expression
761
+ :type filter: str, optional
762
+ :param skip: The optional number of rows to skip
763
+ :type skip: int, optional
764
+ :param limit: The optional max number of rows to return
765
+ :type limit: int, optional
766
+ :param async_: Perform the request asynchronously
767
+ :type async_: bool, optional
768
+ :rtype: DataViewExecution
713
769
  """
714
770
  ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
715
771
  kwargs['_return_http_data_only'] = True
@@ -732,14 +788,21 @@ class ViewsApi(object):
732
788
 
733
789
  This method makes a synchronous HTTP request by default.
734
790
 
735
- :param str container_id: The target container for view execution (required)
736
- :param ContainerPipelineInput body: (required)
737
- :param str sort: The sort fields and order.(e.g. label:asc,created:desc)
738
- :param str filter: An optional filter expression
739
- :param int skip: The optional number of rows to skip
740
- :param int limit: The optional max number of rows to return
741
- :param bool async_: Perform the request asynchronously
742
- :return: DataViewExecution
791
+ :param container_id: The target container for view execution
792
+ :type container_id: str
793
+ :param body:
794
+ :type body: ContainerPipelineInput
795
+ :param sort: The sort fields and order.(e.g. label:asc,created:desc)
796
+ :type sort: str, optional
797
+ :param filter: An optional filter expression
798
+ :type filter: str, optional
799
+ :param skip: The optional number of rows to skip
800
+ :type skip: int, optional
801
+ :param limit: The optional max number of rows to return
802
+ :type limit: int, optional
803
+ :param async_: Perform the request asynchronously
804
+ :type async_: bool, optional
805
+ :rtype: DataViewExecution
743
806
  """
744
807
 
745
808
  all_params = ['container_id','body','sort','filter','skip','limit',] # noqa: E501
@@ -833,14 +896,21 @@ class ViewsApi(object):
833
896
  Execute a view, returning a reference to the created data view execution.
834
897
  This method makes a synchronous HTTP request by default.
835
898
 
836
- :param str view_id: The ID of the view (required)
837
- :param str container_id: The target container for view execution (required)
838
- :param str sort: The sort fields and order.(e.g. label:asc,created:desc)
839
- :param str filter: An optional filter expression
840
- :param int skip: The optional number of rows to skip
841
- :param int limit: The optional max number of rows to return
842
- :param bool async_: Perform the request asynchronously
843
- :return: DataViewExecution
899
+ :param view_id: The ID of the view
900
+ :type view_id: str
901
+ :param container_id: The target container for view execution
902
+ :type container_id: str
903
+ :param sort: The sort fields and order.(e.g. label:asc,created:desc)
904
+ :type sort: str, optional
905
+ :param filter: An optional filter expression
906
+ :type filter: str, optional
907
+ :param skip: The optional number of rows to skip
908
+ :type skip: int, optional
909
+ :param limit: The optional max number of rows to return
910
+ :type limit: int, optional
911
+ :param async_: Perform the request asynchronously
912
+ :type async_: bool, optional
913
+ :rtype: DataViewExecution
844
914
  """
845
915
  ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
846
916
  kwargs['_return_http_data_only'] = True
@@ -864,14 +934,21 @@ class ViewsApi(object):
864
934
  Execute a view, returning a reference to the created data view execution.
865
935
  This method makes a synchronous HTTP request by default.
866
936
 
867
- :param str view_id: The ID of the view (required)
868
- :param str container_id: The target container for view execution (required)
869
- :param str sort: The sort fields and order.(e.g. label:asc,created:desc)
870
- :param str filter: An optional filter expression
871
- :param int skip: The optional number of rows to skip
872
- :param int limit: The optional max number of rows to return
873
- :param bool async_: Perform the request asynchronously
874
- :return: DataViewExecution
937
+ :param view_id: The ID of the view
938
+ :type view_id: str
939
+ :param container_id: The target container for view execution
940
+ :type container_id: str
941
+ :param sort: The sort fields and order.(e.g. label:asc,created:desc)
942
+ :type sort: str, optional
943
+ :param filter: An optional filter expression
944
+ :type filter: str, optional
945
+ :param skip: The optional number of rows to skip
946
+ :type skip: int, optional
947
+ :param limit: The optional max number of rows to return
948
+ :type limit: int, optional
949
+ :param async_: Perform the request asynchronously
950
+ :type async_: bool, optional
951
+ :rtype: DataViewExecution
875
952
  """
876
953
 
877
954
  all_params = ['view_id','container_id','sort','filter','skip','limit',] # noqa: E501
@@ -954,16 +1031,25 @@ class ViewsApi(object):
954
1031
  Execute a view, saving data to the target container / file
955
1032
  This method makes a synchronous HTTP request by default.
956
1033
 
957
- :param str container_id: The target container for view execution (required)
958
- :param ContainerIdViewInputExecuteAndSave body: (required)
959
- :param FileFormat format: Available values : csv, tsv, json, ndjson, json_flat, json-row-column
960
- :param str ticket: download ticket id
961
- :param str filter: An optional filter expression
962
- :param str sort: The sort fields and order.(e.g. label:asc,created:desc)
963
- :param int skip: The optional number of rows to skip
964
- :param int limit: The optional max number of rows to return
965
- :param bool async_: Perform the request asynchronously
966
- :return: File
1034
+ :param container_id: The target container for view execution
1035
+ :type container_id: str
1036
+ :param body:
1037
+ :type body: ContainerIdViewInputExecuteAndSave
1038
+ :param format: Available values : csv, tsv, json, ndjson, json_flat, json-row-column
1039
+ :type format: FileFormat, optional
1040
+ :param ticket: download ticket id
1041
+ :type ticket: str, optional
1042
+ :param filter: An optional filter expression
1043
+ :type filter: str, optional
1044
+ :param sort: The sort fields and order.(e.g. label:asc,created:desc)
1045
+ :type sort: str, optional
1046
+ :param skip: The optional number of rows to skip
1047
+ :type skip: int, optional
1048
+ :param limit: The optional max number of rows to return
1049
+ :type limit: int, optional
1050
+ :param async_: Perform the request asynchronously
1051
+ :type async_: bool, optional
1052
+ :rtype: File
967
1053
  """
968
1054
  ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
969
1055
  kwargs['_return_http_data_only'] = True
@@ -987,16 +1073,25 @@ class ViewsApi(object):
987
1073
  Execute a view, saving data to the target container / file
988
1074
  This method makes a synchronous HTTP request by default.
989
1075
 
990
- :param str container_id: The target container for view execution (required)
991
- :param ContainerIdViewInputExecuteAndSave body: (required)
992
- :param FileFormat format: Available values : csv, tsv, json, ndjson, json_flat, json-row-column
993
- :param str ticket: download ticket id
994
- :param str filter: An optional filter expression
995
- :param str sort: The sort fields and order.(e.g. label:asc,created:desc)
996
- :param int skip: The optional number of rows to skip
997
- :param int limit: The optional max number of rows to return
998
- :param bool async_: Perform the request asynchronously
999
- :return: File
1076
+ :param container_id: The target container for view execution
1077
+ :type container_id: str
1078
+ :param body:
1079
+ :type body: ContainerIdViewInputExecuteAndSave
1080
+ :param format: Available values : csv, tsv, json, ndjson, json_flat, json-row-column
1081
+ :type format: FileFormat, optional
1082
+ :param ticket: download ticket id
1083
+ :type ticket: str, optional
1084
+ :param filter: An optional filter expression
1085
+ :type filter: str, optional
1086
+ :param sort: The sort fields and order.(e.g. label:asc,created:desc)
1087
+ :type sort: str, optional
1088
+ :param skip: The optional number of rows to skip
1089
+ :type skip: int, optional
1090
+ :param limit: The optional max number of rows to return
1091
+ :type limit: int, optional
1092
+ :param async_: Perform the request asynchronously
1093
+ :type async_: bool, optional
1094
+ :rtype: File
1000
1095
  """
1001
1096
 
1002
1097
  all_params = ['container_id','body','format','ticket','filter','sort','skip','limit',] # noqa: E501
flywheel/api_client.py CHANGED
@@ -1,12 +1,5 @@
1
1
  # coding: utf-8
2
2
  """
3
- Flywheel
4
-
5
- No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
6
-
7
- OpenAPI spec version: 0.0.1
8
-
9
- Generated by: https://github.com/swagger-api/swagger-codegen.git
10
3
  """
11
4
 
12
5
  from __future__ import absolute_import
@@ -84,7 +77,7 @@ class ApiClient(object):
84
77
  self.default_query_params = []
85
78
  self.cookie = cookie
86
79
  # Set default User-Agent.
87
- self.user_agent = 'Swagger-Codegen/21.3.0-rc0/python'
80
+ self.user_agent = 'Swagger-Codegen/21.4.0/python'
88
81
  self.last_response = None
89
82
  self._version_check_fn = None
90
83
  self._context = context
@@ -311,15 +304,21 @@ class ApiClient(object):
311
304
  return None
312
305
 
313
306
  if type(klass) == str:
314
- if klass.startswith('list[') and isinstance(data, list):
315
- sub_kls = re.match(r'list\[(.*)\]', klass).group(1)
316
- return [self.__deserialize(sub_data, sub_kls)
317
- for sub_data in data]
307
+ if klass.startswith('list['):
308
+ if isinstance(data, list):
309
+ sub_kls = re.match(r'list\[(.*)\]', klass).group(1)
310
+ return [self.__deserialize(sub_data, sub_kls)
311
+ for sub_data in data]
312
+ else:
313
+ raise ValueError(f"Data has type {type(data)}, expected list")
318
314
 
319
- if klass.startswith('dict(') and isinstance(data, dict):
320
- sub_kls = re.match(r'dict\(([^,]*), (.*)\)', klass).group(2)
321
- return {k: self.__deserialize(v, sub_kls)
322
- for k, v in six.iteritems(data)}
315
+ if klass.startswith('dict('):
316
+ if isinstance(data, dict):
317
+ sub_kls = re.match(r'dict\(([^,]*), (.*)\)', klass).group(2)
318
+ return {k: self.__deserialize(v, sub_kls)
319
+ for k, v in six.iteritems(data)}
320
+ else:
321
+ raise ValueError(f"Data has type {type(data)}, expected dict")
323
322
 
324
323
  if klass.startswith('union['):
325
324
  union_content = re.match(r'union\[(.*)\]$', klass).group(1)
@@ -337,7 +336,8 @@ class ApiClient(object):
337
336
  except ValueError as exc:
338
337
  if (f"is not a valid {skls}" in str(exc) or
339
338
  "Page response is not supported yet" in str(exc) or
340
- "Unable to deserialize data as " in str(exc)):
339
+ "Unable to deserialize data as " in str(exc) or
340
+ "Data has type " in str(exc)):
341
341
  continue
342
342
  else:
343
343
  raise
@@ -352,7 +352,8 @@ class ApiClient(object):
352
352
  except ValueError as exc:
353
353
  if (f"is not a valid {skls}" in str(exc) or
354
354
  "Page response is not supported yet" in str(exc) or
355
- "Unable to deserialize data as " in str(exc)):
355
+ "Unable to deserialize data as " in str(exc) or
356
+ "Data has type " in str(exc)):
356
357
  continue
357
358
  else:
358
359
  raise
flywheel/configuration.py CHANGED
@@ -1,13 +1,6 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- Flywheel
5
-
6
- No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
-
8
- OpenAPI spec version: 0.0.1
9
-
10
- Generated by: https://github.com/swagger-api/swagger-codegen.git
11
4
  """
12
5
 
13
6
 
@@ -253,8 +246,8 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
253
246
  return "Python SDK Debug Report:\n"\
254
247
  "OS: {env}\n"\
255
248
  "Python Version: {pyversion}\n"\
256
- "Version of the API: 21.3.0-rc0\n"\
257
- "SDK Package Version: 21.3.0-rc0".\
249
+ "Version of the API: 21.4.0\n"\
250
+ "SDK Package Version: 21.4.0".\
258
251
  format(env=sys.platform, pyversion=sys.version)
259
252
 
260
253
  def enable_message_cutoff(self, message_cutoff):
flywheel/file_spec.py CHANGED
@@ -1,13 +1,6 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- Flywheel
5
-
6
- No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
-
8
- OpenAPI spec version: 0.0.1
9
-
10
- Generated by: https://github.com/swagger-api/swagger-codegen.git
11
4
  """
12
5
 
13
6