flywheel-sdk 20.1.0rc0__py2.py3-none-any.whl → 20.2.0__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. flywheel/__init__.py +3 -6
  2. flywheel/api/__init__.py +1 -0
  3. flywheel/api/analyses_api.py +1446 -346
  4. flywheel/api/container_type_api.py +135 -0
  5. flywheel/api/dataexplorer_api.py +90 -0
  6. flywheel/api/files_api.py +437 -0
  7. flywheel/api/reports_api.py +102 -0
  8. flywheel/api_client.py +1 -1
  9. flywheel/configuration.py +2 -2
  10. flywheel/finder.py +5 -2
  11. flywheel/flywheel.py +335 -7
  12. flywheel/models/__init__.py +3 -7
  13. flywheel/models/action.py +0 -3
  14. flywheel/models/container_type.py +0 -1
  15. flywheel/models/current_user_output.py +4 -32
  16. flywheel/models/features.py +16 -16
  17. flywheel/models/{azure_ml_resource_init_status.py → file_container_type.py} +8 -6
  18. flywheel/models/file_list_output.py +54 -1
  19. flywheel/models/file_node.py +54 -1
  20. flywheel/models/file_output.py +57 -4
  21. flywheel/models/file_upsert_output.py +54 -1
  22. flywheel/models/fixed_input.py +28 -1
  23. flywheel/models/info_container_type.py +34 -0
  24. flywheel/models/mixins.py +14 -2
  25. flywheel/models/modify_user_input.py +4 -32
  26. flywheel/models/origin_type.py +1 -0
  27. flywheel/models/project_copy_input.py +28 -1
  28. flywheel/models/project_settings_workspaces.py +4 -31
  29. flywheel/models/project_settings_workspaces_input.py +4 -32
  30. {flywheel_sdk-20.1.0rc0.dist-info → flywheel_sdk-20.2.0.dist-info}/METADATA +3 -3
  31. {flywheel_sdk-20.1.0rc0.dist-info → flywheel_sdk-20.2.0.dist-info}/RECORD +34 -37
  32. {flywheel_sdk-20.1.0rc0.dist-info → flywheel_sdk-20.2.0.dist-info}/WHEEL +1 -1
  33. flywheel/models/azure_ml_account.py +0 -188
  34. flywheel/models/azure_ml_initialization.py +0 -244
  35. flywheel/models/azure_ml_integration.py +0 -218
  36. flywheel/models/azure_ml_workspace.py +0 -347
  37. flywheel/models/azure_ml_workspace_input.py +0 -189
  38. {flywheel_sdk-20.1.0rc0.dist-info → flywheel_sdk-20.2.0.dist-info/licenses}/LICENSE.txt +0 -0
  39. {flywheel_sdk-20.1.0rc0.dist-info → flywheel_sdk-20.2.0.dist-info}/top_level.txt +0 -0
@@ -1,19 +1,19 @@
1
- flywheel/__init__.py,sha256=1vwZyZx1BMTbCoMf4Q3tEDzuq6-j389zBgyijMV0siY,45046
2
- flywheel/api_client.py,sha256=TkntvGoSnqf3YmCTnrteYVYxkDN_YUypRDk5B1uWgCQ,29574
1
+ flywheel/__init__.py,sha256=g26nuNZtLOTrOYUjgLJ3SKaqM0vNk7CHHssM-j0C1UQ,44814
2
+ flywheel/api_client.py,sha256=3z9PIU3z1WclRLAZCLBQ8XgO60uvWi2_k-c3k3j6nqw,29570
3
3
  flywheel/client.py,sha256=LMvn2aSdtn-waCpXzux8FKJxEB0469SJg5ZNnB5BqTc,10476
4
- flywheel/configuration.py,sha256=jkvfpTwalbm7g-oC9sI51mzWddu3FUkTvwOv8-8ONh8,8647
4
+ flywheel/configuration.py,sha256=1g2FQLF_AjBD5nPrzml1CsMtJiUa6XOEzOoWDOXfOKU,8639
5
5
  flywheel/drone_login.py,sha256=8nELIBYBJMuPHQ0zdrGjWB20C3OTZbxpFVyxWmQ0kr0,2229
6
6
  flywheel/file_spec.py,sha256=0BnFgyH0qsDxuupJG5_g9LX2cLq7JxRiSODN3HdI-ak,2220
7
- flywheel/finder.py,sha256=ueECCweO48TTAJXudzh3xBbqyhV-Vbzt1NnPUSqEU9U,6739
8
- flywheel/flywheel.py,sha256=6ZfvAhCviwAsZ0_PQjhuUXU4cC6P47I7p4WtN7sfoDk,396922
7
+ flywheel/finder.py,sha256=h5hxD03Ye4lZJflxh3Ub_zwFS273wWq2wTLf2CQz-lM,6887
8
+ flywheel/flywheel.py,sha256=bjIDpsYxM0eIeXoCLtTdTcqx_TMOyJxWPHfC-I9zuUY,413106
9
9
  flywheel/gear_context.py,sha256=cFJs8cC_on6v184HVUTXSSVS9y5ee73QN0lCkPTQ5jk,13701
10
10
  flywheel/partial_reader.py,sha256=SkMgwaGZeeVaN7f9dzmVitBFnQv8ARLJgEaQP36l92s,1222
11
11
  flywheel/rest.py,sha256=Luybe_pjqufXgw3LHSwPrSWFKrrAH6UU3IvTtSeCoAQ,13604
12
12
  flywheel/util.py,sha256=_97fv5qRvxvSFi1eHsli4VszoOBhYMhtC26hz_ukrEA,2198
13
13
  flywheel/view_builder.py,sha256=0hGDvjiljUuyuHezawx-TSO5Nv885No6rGf3lb3qvxo,17758
14
- flywheel/api/__init__.py,sha256=S0erMpSONSRh8RUbADUNnAczZwUhe-Lt9s8E4TMGH5M,1760
14
+ flywheel/api/__init__.py,sha256=EIvTPkM5mmQqBzlTUx4iUPWkjJrh-4LduSccVuwZxxo,1821
15
15
  flywheel/api/acquisitions_api.py,sha256=VEyG-U0a8Qy40OS_6EsxrDXh0rSWEHbWtwjXrNS4jGg,213230
16
- flywheel/api/analyses_api.py,sha256=RiN1F0zQlzmPWRkhKdfx_sipeY6AYdsog87IsJJAvNA,117726
16
+ flywheel/api/analyses_api.py,sha256=xZUtO09M8VagXhQy-mQtULrMA8VRpz2GMzqtWwVe9fM,168155
17
17
  flywheel/api/audit_trail_api.py,sha256=dFinVdTCqO1TsCoRndTT1qqV61J2FWMyYS2FqQwqP54,21492
18
18
  flywheel/api/auth_api.py,sha256=w6wscqpCv-Rc9n9Q1KogyeaByM9YhiDNl4upvErV674,3703
19
19
  flywheel/api/batch_api.py,sha256=zpeo0U6ubk-AxlCQ_j-rTmVuKpjJue9icFq-zBP5ZVo,23287
@@ -21,13 +21,14 @@ flywheel/api/bulk_api.py,sha256=kSIQUYBHS37yDKdM1TMNYNLhXTrIkfTYznRhtVuEUS0,4776
21
21
  flywheel/api/change_log_api.py,sha256=Nln-mDIsCRLcsDCBDo8e9sYv1jTCf6ql_JX9SfP5-ds,10003
22
22
  flywheel/api/collections_api.py,sha256=E7JfT5ABoCxX-nZvIAkbsySW9Yi7OJKdpqD4FC8gOPI,165414
23
23
  flywheel/api/config_api.py,sha256=rBURhYVyT22BpOjDIQ_2iJ3UOnfspgjowQnz2cKND_s,9584
24
+ flywheel/api/container_type_api.py,sha256=fmi3dUY1u_1MwAj27E0EdCM-dus8bUXXsCZy4FPWYrY,4941
24
25
  flywheel/api/containers_api.py,sha256=fReONdto78giDqvhU5EjIVf1M4nM5KaOw3X_UvGeR9c,202811
25
26
  flywheel/api/data_view_executions_api.py,sha256=vdQ3vRbebC2InZp0s7WUMGxJjRiq_aaXLrYIHi2lk4s,21544
26
- flywheel/api/dataexplorer_api.py,sha256=bWATXxokPKiGP4zUPhlxuFQR2X_15DI3nY4_QdXfarw,41784
27
+ flywheel/api/dataexplorer_api.py,sha256=JSE2IDgEEqdeChDdr3biR25DaeTCh_B_8HzBh1T1sak,44897
27
28
  flywheel/api/devices_api.py,sha256=VsclxSE_yMSAvST5uxEKMBXNqq_eKJjI6XI4S3RKsas,43568
28
29
  flywheel/api/dimse_api.py,sha256=rTPcy5CTFFnpx1YWSuhsWMNjW4c9nTV85Q8EY1QcGN8,29974
29
30
  flywheel/api/download_api.py,sha256=fFOA8DgRq1yknYQ6YZC26fcaZDhGIDnGuWMjvYD_Ans,10590
30
- flywheel/api/files_api.py,sha256=r1_FiGBEheLMAmH93p3_L2xtkEL76z3JS9cyF_vbKNc,57950
31
+ flywheel/api/files_api.py,sha256=16eBri-DBhnSA1edL0WSk-2ts2BLSQWrPpPrCKX9_JM,74921
31
32
  flywheel/api/gears_api.py,sha256=Pu1bWBrlDgXHDsgsyIOJxPl2_6oxQvtm2JVaVOJ667c,73128
32
33
  flywheel/api/groups_api.py,sha256=Jo-5nsuVG5Sb21NDizC-sNRs9QUvTyIHTigWQXVu4Rw,113622
33
34
  flywheel/api/jobs_api.py,sha256=Af6fEmkCUylsJaMxx5LUvTTYlQnWpLWH2Nk0wLSk_g8,82096
@@ -35,7 +36,7 @@ flywheel/api/jupyterlab_servers_api.py,sha256=FiwtzKL6SClFXiBnzbf5dtjHCjonMQ3jB7
35
36
  flywheel/api/modalities_api.py,sha256=GyqCWO1_iQ7RUgvKD6KeAOrPx6O7Q3XxxGsqksBBJEM,20862
36
37
  flywheel/api/packfiles_api.py,sha256=3IQHwnmjCYBw7L4gJIxnZwpGdIT6LqEZPb-eIHG3t8o,3847
37
38
  flywheel/api/projects_api.py,sha256=qnfrolirpUlevQf1a85hgZjd51kNHHOkTROnOnmN61k,330443
38
- flywheel/api/reports_api.py,sha256=6WW5CroopwNrw6GBE0_R34stBWbyqUXgRoyiHkAAZE4,36251
39
+ flywheel/api/reports_api.py,sha256=9_qobtbIMPphQiB-oy_D4sp9mdZc0YkpkzDYWAOtwrQ,40407
39
40
  flywheel/api/resolve_api.py,sha256=GO2ZSI6ofo4XRMSyc239-HjJ1vRd3ollMMtwfquYcuE,12215
40
41
  flywheel/api/roles_api.py,sha256=2FQCdRZgg-bZDVP8Nv4JOb4UYMbGcX0Cstc3x6Cff1Y,20698
41
42
  flywheel/api/sessions_api.py,sha256=UUDXq3CbLw9bekfI_wud05F-HCdBc9S7PrmDWLht5NA,223503
@@ -46,7 +47,7 @@ flywheel/api/uids_api.py,sha256=mFStWRKbdgymR_FYDHq8EsOiTfDKjz2XEcWT1XQUYtQ,4946
46
47
  flywheel/api/upload_api.py,sha256=emrzAmurhGb-uBI7Ewckbn5DyP9LBkfn6OI1zxhKnb8,38540
47
48
  flywheel/api/users_api.py,sha256=t6CgyTGKdr-ojDi_wW3Zpgw3XhiUE7shDXxKLK3__ZY,85397
48
49
  flywheel/api/views_api.py,sha256=ZbPYA_sOQ9qnOjkOUeioV0v08VPbsuuOnMP3EBySEVY,44375
49
- flywheel/models/__init__.py,sha256=yMcHXoRRmnNzEkDzdibFDas0IX_k4tamvm8dC83LHsc,42926
50
+ flywheel/models/__init__.py,sha256=T8tDfK-4aimNz1Jo6zdDNrIqkeZ0AiP2cVWC-dtNcF4,42629
50
51
  flywheel/models/access_level.py,sha256=zSgO2gWTTSo-p1v49ilz3Q5ZizZ7DESA5P6Ur67fgX0,575
51
52
  flywheel/models/access_permission.py,sha256=-IYmy-yb8zecmGZx7iE0bhZW7PvuWpm3zAHr2FwCyLI,5336
52
53
  flywheel/models/access_permission_output.py,sha256=faCnvyMYozmSVSlLFYMdJw84hQc3ugxx7LH2JzBfnoE,5202
@@ -64,7 +65,7 @@ flywheel/models/acquisition_parents.py,sha256=G-mcOdBtSJZQPbD6mSgfez3AZ-FYQf_oXg
64
65
  flywheel/models/acquisition_template_options.py,sha256=bbvtpv0DD24UjtJLA6tuC2NgifwoLAap7Lno6j8Eeuk,7436
65
66
  flywheel/models/acquisition_upsert_input.py,sha256=OKyzNC8CvrhKwl4ikcmDR2OTgEt3Kncp_NLhM_B6ct4,9423
66
67
  flywheel/models/acquisition_upsert_output.py,sha256=KvOcTqnJq_oct1XzblgdetZJKRviSTTAKa8TmYBL4dY,6498
67
- flywheel/models/action.py,sha256=aKDVcwoIcI0IxQTTf03NwpwOaztaJWXcwsuBf0PHTUo,3546
68
+ flywheel/models/action.py,sha256=fS76JIhFWzKS9vzc7stuY4lAojzNTvupDEfJbMIemrc,3436
68
69
  flywheel/models/adhoc_analysis_input.py,sha256=aysSK-CiV76WN5tUYvNObBivFDYjIcu-NEXTky3TWzw,6633
69
70
  flywheel/models/analysis.py,sha256=o2cG94BT-qsA1ITF89XNHw2usGoRiDjzvNVU4_Zyy7A,516
70
71
  flywheel/models/analysis_container_output.py,sha256=Vptxnt3l9_UPQfaJ6EntrPxZL20OxAEem8FoJ_8Lysk,963
@@ -92,12 +93,6 @@ flywheel/models/avatars.py,sha256=rvnQEtfdlEwt5GPSZ-NwnINO0c58MJxEZdZMj-hPrX8,57
92
93
  flywheel/models/aws_creds.py,sha256=c7Gk7rQ2Qu6scHPLwFUu_8RHu5GMqXuWdWVPoe09Ti0,5661
93
94
  flywheel/models/aws_storage.py,sha256=Z_h1SJzBgJH8AKrol9vQmrfGfG2IYNN3Yl5WD_lwR4E,9249
94
95
  flywheel/models/azure_creds.py,sha256=YSe6kfxVZQWgXxA1SitQbbtoibOj6SnFmUguXFhkM0U,5572
95
- flywheel/models/azure_ml_account.py,sha256=EuiipOG5FH0WMWvupxmpd4XkN618Q9oIQeitMe72dp8,5136
96
- flywheel/models/azure_ml_initialization.py,sha256=tLi5iDETyY4V2qTI_UILNswUYNMpHFH3AeJcUAfP8zg,7585
97
- flywheel/models/azure_ml_integration.py,sha256=BqSOhHO0p5VlivYRmtEpx-3jlNAH2UsLblolgPtUgGQ,6531
98
- flywheel/models/azure_ml_resource_init_status.py,sha256=bq0BczJrtxq-uOGy1xJ3lWFI4K1n1OayRNOGxs5KARs,669
99
- flywheel/models/azure_ml_workspace.py,sha256=rq8sxsCU3D6OBTr24VI-TDdOzoK-ddzoQ3epQ1Y9pcc,9250
100
- flywheel/models/azure_ml_workspace_input.py,sha256=yvo28iju0V7gvYYdoXBSjV3SH47LHUSRJ9qMyppcP5E,5300
101
96
  flywheel/models/base_aet.py,sha256=2CHubbZHUifaLbB9V_RVJFmTO-HrC4NLxsf66gMwdZw,6181
102
97
  flywheel/models/base_compute.py,sha256=xgVuApFltjgYlF9JVvJXzq5sIiVOslZ-iaian6DHHPM,11185
103
98
  flywheel/models/batch.py,sha256=rNoUcYjqktWkcY1Z_FKuJbmBtEW_Ek6I1x3PbAtV2Po,8879
@@ -176,7 +171,7 @@ flywheel/models/container_reference.py,sha256=wcTb2v4lRrLU7oxeIooS0kZyxD-q9rDOBZ
176
171
  flywheel/models/container_reference_with_label.py,sha256=wb6U1ckU-y0PoO6U0aKh6doVgFbgSsrrFk3IVwYV2KA,5990
177
172
  flywheel/models/container_session_parents.py,sha256=gMIcIwUfFRipoIx2u_6eeSzCxnrPR97c1os-4Jke10U,531
178
173
  flywheel/models/container_subject_parents.py,sha256=uwrfrwLpL8Gdxc_s2o_iV5kFjrmSlmA9dT7JmvjpXgg,531
179
- flywheel/models/container_type.py,sha256=7MKk2R4ezoyRwGhLEEtRchktp2c1pkWNFpyXM2yqr2Y,863
174
+ flywheel/models/container_type.py,sha256=cJHOelgRr7IuaQbCqUPslFJs3j-apqgpsrJBXVAIaKo,821
180
175
  flywheel/models/container_uidcheck.py,sha256=Ld7gohp29Pm28SYlUoV07iAj-kM8quUoXBCo8jJ5KVA,7105
181
176
  flywheel/models/container_update.py,sha256=JN5C01CeKegQImm7kE9TD3AytKfafL5_rMahbJGYoT0,3916
182
177
  flywheel/models/context_input.py,sha256=PyafRR26gT42JPHW-VvlawJrxwHK6eZ-i4hZm_e2wl4,5649
@@ -186,7 +181,7 @@ flywheel/models/core_models_jobs_api_key_input.py,sha256=yzs7jLOGCFeNuUENM4mxesu
186
181
  flywheel/models/create_report_input.py,sha256=JpkgTHRQA8TK_K1ViU5utiX_XV0YIO1ZekkPlpxTt70,7323
187
182
  flywheel/models/creds.py,sha256=kFhJ7_1zmHzHneoan4XKlJ7iRDIgZKuZFbnjCBQg28o,3876
188
183
  flywheel/models/curator.py,sha256=S1yhs6s-gCj-Zqz0NWrXE873xsBq7Ha4Ym82qWeABDs,5726
189
- flywheel/models/current_user_output.py,sha256=UBZk8KJiAI_WXGOPeEAsDsHJc-SJsHcAu_n3KBKGae0,18568
184
+ flywheel/models/current_user_output.py,sha256=p7Zlfajmtqf3PRbDLBtvGhPKaU6zv2QVRvc5oiYp4GY,17621
190
185
  flywheel/models/daily_report_usage.py,sha256=Fyst4zrcXpBPnTdVWm_vmRf8aNJhhZSVyHy4F-MdB9E,18632
191
186
  flywheel/models/data_strategy.py,sha256=CSkjkzS6o8TglM0zaTxykMoAIztFdIoNUauzwMyAhTs,572
192
187
  flywheel/models/data_view.py,sha256=T-6NU0roubb9wpij4MXS33GZkoyAKT1S2IbJE3tFS8Q,541
@@ -241,30 +236,31 @@ flywheel/models/egress_provider_id.py,sha256=1dKUprJXQii7w_sdUr_hB_PebJDkLgZt9yj
241
236
  flywheel/models/exchange_storage.py,sha256=J5ki23OZ78IU-snirVzcbXd6Jjuek4FjwHGG1FTlIzM,6719
242
237
  flywheel/models/executor_info.py,sha256=nbvDWU_yEi_xwpF52y186xEgKkuKSjmBLGOGqmVA_Wg,9216
243
238
  flywheel/models/export_templates.py,sha256=fAW_tPW2tBT1DhuzF4nS7GwSgvqHkFLED--Swl4ndco,5495
244
- flywheel/models/features.py,sha256=epQtpQu4j8A2rxPO-lSjpaTgKhO6XBhLJqyT9MVN7Ig,54288
239
+ flywheel/models/features.py,sha256=zDprL9k7xPrk5nOQMl12cw_iS5jN7LCZJrL2Q7AGmfM,54442
245
240
  flywheel/models/field_change.py,sha256=H0QoBOIJuzgBsryMejJnhu5Vzwa2FpZ2ChQV7NnAgLU,7027
246
241
  flywheel/models/field_change_log_document.py,sha256=-G5oxplkcregMMHywMAXuexl5x21PRe5X2SQxaIaAj0,7091
247
242
  flywheel/models/file.py,sha256=SkL9vxFcvaTwveNQ8TO-33CnJ_EJttLSLf9iFInhSgw,27877
248
243
  flywheel/models/file_classification_delta.py,sha256=i7WiwP3smfqB6EBxyOwhT9ncs0e9K6NC2w2EtIzE3a8,6744
244
+ flywheel/models/file_container_type.py,sha256=Sd7u4TpM4priPjGVoVvogIiUDiEyJkE95SgYbAA2yMg,733
249
245
  flywheel/models/file_entry.py,sha256=RzUNtqHbDLWCiDaVEiS8FHHsLD-b5bsHUmCn89jt6Yc,19125
250
246
  flywheel/models/file_export_templates.py,sha256=zrC4_KbDNfogg7S7E_eESb6cP4dUldk7IOgfsMfvqFE,7310
251
247
  flywheel/models/file_format.py,sha256=NV8vMXJTNudr7RIEd4HYlFUuMSPk83yKrXFmQZl_wYU,666
252
248
  flywheel/models/file_gear_info.py,sha256=O2jw35gKDkeVO2kZ3B8BNVYHMHbPmkh3uDrHXRz7XMs,5544
253
249
  flywheel/models/file_group.py,sha256=eX1zjjdDayIfG1mzmP1DNOEHsmFLMUkOUxdTQfqSMBE,567
254
- flywheel/models/file_list_output.py,sha256=H8oaft4dKdum5vSE4BcItXt7ifD0uV6DYwOo7bBo30M,27215
250
+ flywheel/models/file_list_output.py,sha256=EmW6Gdd8LQrT-GCa9MqIeQ1zQgv2d5IkPeRBwQORDfw,28607
255
251
  flywheel/models/file_modify_input.py,sha256=Kerigv7DnLEYP0hjVx4dPCSLNP9R1Rru1zCN8zplpZs,5173
256
252
  flywheel/models/file_move_input.py,sha256=a_cype-Q_SSn-341kwV0aoE6Tu6qjuSIwtvc595ivHo,6324
257
- flywheel/models/file_node.py,sha256=idwTTHYeb8IkKWv0fFIna1Qxh3O9vM1Txs-xTu_GdM4,26395
253
+ flywheel/models/file_node.py,sha256=vGfdftUFePg5tvXi8z87j5mQfLxUChcS-vCKX90rd18,27739
258
254
  flywheel/models/file_node_min.py,sha256=zPofPuDILh7yXezBUYQFilyLJHfJP1t6l6STwyxuCVE,8188
259
255
  flywheel/models/file_origin.py,sha256=BOQoln9O7RU__ioJnl0ZSoef3qHsq-3VKnuW2iS4AeA,7155
260
- flywheel/models/file_output.py,sha256=h8cFb-CeScLL8UI6o3qWnlYUVG7oUW79eGlB4dvh3og,27600
256
+ flywheel/models/file_output.py,sha256=vpVO-ZKLn62IqMgueeYR3pwEJHZi6Yn7n5VgA1tz8UA,28960
261
257
  flywheel/models/file_parents.py,sha256=Bty9ILlZyXLxpF7rV1-MOk1K76Dlim7CkBLvscY1FHU,7705
262
258
  flywheel/models/file_reference.py,sha256=oP4I_dF6m45rT1GdnYR5Jy15eZ1XhHbLyGGyjHzc82w,5715
263
259
  flywheel/models/file_suggestion.py,sha256=TMGPRRRYchOkaVzxJx8yWTdtu0sjRgfvJGngWFz-JXM,6370
264
260
  flywheel/models/file_template_options.py,sha256=1L3jjdmJeLpdPhUbei2rm1lXssaPedh4wnLZNyzfya8,8065
265
261
  flywheel/models/file_upsert_input.py,sha256=_njhAlq6EsK8oe-52nlDS6EUk3wf3bhWAJJcQFDw3V0,16182
266
262
  flywheel/models/file_upsert_origin.py,sha256=pjyD3ZGWNpAO1IvXo1uC7pQchnZjRlshhY9s0KjgkRc,886
267
- flywheel/models/file_upsert_output.py,sha256=0gcEpKpleOSKLnyn4fL0vDvAuE_KMf1mRpF46anrQ7o,28979
263
+ flywheel/models/file_upsert_output.py,sha256=bOd_9aJ6YUaldc99ppwUC92_ZWMt0JAfphMoCLZ5JJY,30387
268
264
  flywheel/models/file_version.py,sha256=CkTYvamplVpFv34M9EWADkdlCLWgnsgnIbkzKV4Ymmk,5130
269
265
  flywheel/models/file_version_copy_of.py,sha256=NyZMHGDbwJcBnj-L3ZvauA3Gdqfgr50KZYIx04O6IkM,7463
270
266
  flywheel/models/file_version_output.py,sha256=Zpk9zSuJEb7V-tuWaCS7sobWjvA4X2MnQwG13CoRW_0,8701
@@ -274,7 +270,7 @@ flywheel/models/file_zip_info.py,sha256=tSmkUbp4lqjZ995s8-ZGwAO0NfM-sT_IgeQ8Um1M
274
270
  flywheel/models/filter.py,sha256=H7dfOmWfc0cfUUlVvayZRkW7p5b-RgJ9BKclXdU0kSY,6041
275
271
  flywheel/models/filter_values.py,sha256=Djbju2DzQp7tiF4Ms4WTo9aNRzuyaCcedZ1Han_it84,5355
276
272
  flywheel/models/fixed_file_version_input.py,sha256=p33tDJS5DyQ4eoBDZhWjl0gfjx05xuFG2oQrGCyW-nU,5847
277
- flywheel/models/fixed_input.py,sha256=Sv9yDpUt_tktxV-4cAk0XnTC-3dcEwLtmYdZ6eljJgM,6740
273
+ flywheel/models/fixed_input.py,sha256=H0cFpldGBnSe8W87wTyMWGHSqkkU2H6x7Cp97-OAG-k,7345
278
274
  flywheel/models/form_definition.py,sha256=ojwrh7ueipNBUYsYHQaMGq3nJOTZJrTxBc0U4YIrNvs,4612
279
275
  flywheel/models/gcp_creds.py,sha256=PrVy6vYdwB6lLEwhoOhfaIaV9xpGCExWGwKEaiXfm5Q,10891
280
276
  flywheel/models/gcp_storage.py,sha256=55g28nhphL_yewwPQFjNhgbQthVvHZZYKxR_3A0FtoY,7680
@@ -340,6 +336,7 @@ flywheel/models/hierarchy_export_templates.py,sha256=IEubYJ_f7aIcxIG56_GgiKHuRuK
340
336
  flywheel/models/http_validation_error.py,sha256=8OvnWz2WMt7zOF9TmP-0u-smM1a21VQkhdigkmt_Aro,4711
341
337
  flywheel/models/info.py,sha256=1VR0MmrF4UWbNArJEW4CZCs0syWjVL2IX-erKbIK-0E,5618
342
338
  flywheel/models/info_add_remove.py,sha256=1-cOwkKpF9yzdE0p6WZL35NjX5-Je1BFm0DDXhPuzbU,877
339
+ flywheel/models/info_container_type.py,sha256=TpdN2lo5Gh6xQf9N6MWj9gCQ564_DglI2fG4npEvW-Y,753
343
340
  flywheel/models/info_replace.py,sha256=ZCTIjtnbMrWo0j-CF8f3UZuk94gRtsHTt7fj8K49i6c,875
344
341
  flywheel/models/info_update_input.py,sha256=lp3JHqD0BUdqtApqavOw1LE_mlMZ9Nm_1bSQHJpDDS4,879
345
342
  flywheel/models/ingress_provider.py,sha256=ksD8ExD77Y8rdsGxQFkOgE0G91_iVNzIgVJ6hvHEBHE,8255
@@ -439,7 +436,7 @@ flywheel/models/master_subject_code_dob_input.py,sha256=IWAPS_rR-i7MP2c-yUafiz3M
439
436
  flywheel/models/master_subject_code_input.py,sha256=z1iYzK7jJsXxMBaJnwHLd7O7q1LiRx2cUGFrpiuH6bM,8106
440
437
  flywheel/models/master_subject_code_output.py,sha256=ejSXHL6KRfh2L94bsiFrIjxNHfuct9QLXmFi-dT9tV0,4620
441
438
  flywheel/models/matched_acquisition_output.py,sha256=whZ27xZHKL2ngnQKWI4cxQHcvwtTXFH9zg2NL-hi5Sk,14157
442
- flywheel/models/mixins.py,sha256=wWgiSEr1dYnXNBhdcKBYStxgI0T74DTnE-l9rKliNk8,29608
439
+ flywheel/models/mixins.py,sha256=7B2SG6F5XdUU_e6vpqmkw5YBI0ykXX5s6pdH2GjKluA,30074
443
440
  flywheel/models/ml_set_filter.py,sha256=s7BWp9gbVv8waLmSmJQT5treYHp1y4YT_LL-BqB3_nM,5176
444
441
  flywheel/models/ml_type.py,sha256=lNe0BiH5vu_USajw5HMMa8sKdfjk9ZYWjZlL5yFlX10,602
445
442
  flywheel/models/modality.py,sha256=gsPmZbGNbXLONNqBdS--JKTla9rhljoToxVP17vUX0s,6690
@@ -448,7 +445,7 @@ flywheel/models/modality_modify.py,sha256=M8hfkMZr4QlelTkdn5dNclboT0PZgX8xfWtnRA
448
445
  flywheel/models/modality_output.py,sha256=1FR4OqLFCoA4XY4JNA7UxQvDf5bym58QtDq5reLxYBM,7348
449
446
  flywheel/models/modified_result.py,sha256=MYqVs34hSB2_JdgWDaThgkVmbx3MKhAEFKnhleJpeXU,5300
450
447
  flywheel/models/modify_report_input.py,sha256=bYbiFCrJHAfIs9--slG5I6v8VvhW5oPGvuLYI_9nBkA,4714
451
- flywheel/models/modify_user_input.py,sha256=hHX2em0PFYBCbfwOP0RGIej2gz6_E8Z175kJExU-ze8,12532
448
+ flywheel/models/modify_user_input.py,sha256=32SwhuJ3xZBzYZuk5yriCuaQYGdkYbG4qBWGxQqqOiQ,11593
452
449
  flywheel/models/move_conflict.py,sha256=UvjPbnV7zqcMLALpyiS61H6uT2DVns-LT9S2WJxFmrE,8168
453
450
  flywheel/models/note.py,sha256=9wVVvRZU_6KmDnN8CNqHD12FFQFmWR0avNXiqflUfk8,9714
454
451
  flywheel/models/note_input.py,sha256=PME-p3R2i9SSmsMT_xn3i5TUT5jwVsriKKWoh6KSiYc,4515
@@ -456,7 +453,7 @@ flywheel/models/optional_input_policy.py,sha256=eL3mYtZJ2gmlqmPbM6cUD2i4yEAojNUG
456
453
  flywheel/models/order.py,sha256=PLZEujkb8-X3aKMZZNNIlss-jqHAupVyRYdvpv8p5mg,555
457
454
  flywheel/models/organ_system.py,sha256=p4cg1707Re6MzAIWOxZgzcK8x-3sDBYen_tu2oeRGkg,1807
458
455
  flywheel/models/origin.py,sha256=FHFOA_PZfzE7wyGS9CS2hykko90r-Nvjylg0x_iH-y4,4992
459
- flywheel/models/origin_type.py,sha256=x4dCCErgABuK-c67Pl4PS4bCcJxiXqYbgxNZo-J5Vzw,694
456
+ flywheel/models/origin_type.py,sha256=ymJal3qJKE1VjgYuhYsD6hpTEutX3ty70FbsLPQxTkI,712
460
457
  flywheel/models/orphaned_count.py,sha256=AbEpXNNWSC64KTcSjU9E9nnV5yCXadoZPpHlVJVFAbY,4535
461
458
  flywheel/models/output_user_page.py,sha256=9UZ5AGmlylSboA0pvsIIdf8kkT8ULxYE1aOwhLhYlbc,5804
462
459
  flywheel/models/packfile_cleanup_output.py,sha256=pSKPUk6w6xcNblZireYt92Q2HG5TcUOujSWxASHbPBQ,4726
@@ -480,7 +477,7 @@ flywheel/models/project_catalog_list_output.py,sha256=xeqKCNfqOmT4ms_6DQjqR5Uz6m
480
477
  flywheel/models/project_contact.py,sha256=WiCoHfnq62ThKUss5hRCGhVGHv7YI_q5Un2OdqZlZIw,5266
481
478
  flywheel/models/project_container_output.py,sha256=ucS7vWJhh_ApVHqVZH5KNiVEkRpu2pVFdcMeS6sTTdE,1485
482
479
  flywheel/models/project_copy_filter.py,sha256=HqXwcoPqf7pH3_HXVtLA3X5xYqZrIvxT2uOvXbJ3OUw,9006
483
- flywheel/models/project_copy_input.py,sha256=BR1AMjA3M77BNI1eBy2pm7bLOV-wlzFvWpuvnlAUfoU,6030
480
+ flywheel/models/project_copy_input.py,sha256=XAgXHC2H_JjkPVe631q9OjQruDaP13BW9WuITYpkwec,6773
484
481
  flywheel/models/project_copy_output.py,sha256=VBNZPXCni0fMWoSj1s_hBhHkyZkMBXgF3hJnLTcI5jo,5939
485
482
  flywheel/models/project_copy_status.py,sha256=I1UPavaYxo3NDsLOn0-Y7ZlZ-N0Ml7II04NJ7WIZtZ4,657
486
483
  flywheel/models/project_counters.py,sha256=8eLv1Ar2DyyoprF2s_D-AO45aykPnreryQVgvhBU_pQ,9386
@@ -504,8 +501,8 @@ flywheel/models/project_settings_input.py,sha256=a1CpJ4vHxOK2Pzyrmpn1L0RD7QDfTwq
504
501
  flywheel/models/project_settings_output.py,sha256=Q3G764ESOiUFZAX_IBJim62XrPhFKIiJWyo5_3fd-08,8967
505
502
  flywheel/models/project_settings_sharing.py,sha256=xjCScYFS5Xx0AYnqTbgCnp9lMYIAGidUVXHRl-CE3kU,10194
506
503
  flywheel/models/project_settings_sharing_input.py,sha256=0pWyRu1XOkjvxFiLrfdgAhoHTWup5BzobsPPwlvCO8Y,10653
507
- flywheel/models/project_settings_workspaces.py,sha256=iyCtXKgM-zqTJ7u5QGnMH2PNchGgiKuuwlZd1L680eE,5496
508
- flywheel/models/project_settings_workspaces_input.py,sha256=75B5UlWLwBgd9XMUFjKXT6xOru9Z0Ub1kN1kz4Ot-8A,5732
504
+ flywheel/models/project_settings_workspaces.py,sha256=8CkUpTe3aVRvbB8j5US8NyazbVeaGh7VngB8byzG7kc,4760
505
+ flywheel/models/project_settings_workspaces_input.py,sha256=j0f9EKfUxXaAXM9zaYrUObf05wWed7IFDHQCnfYyeUw,4889
509
506
  flywheel/models/project_share_level.py,sha256=bLJqate_wODfnwjb2sW5yEeZQqnKR1DgsZ8FEs9DJqY,601
510
507
  flywheel/models/project_sharing_settings_project_contact.py,sha256=Qzxdl1BWV6TWO90AdQDSZV8RqhUqkBROZ_izIvfybFA,544
511
508
  flywheel/models/project_sharing_settings_project_counters.py,sha256=NjT4K9LGxXHapIy2F370HSmNfiHSjoNDzf7v1HYogTM,935
@@ -707,8 +704,8 @@ flywheel/models/virus_scan_state.py,sha256=zBmk7x3ZoDhEozIeD-Gw7CEkU7yWYKFMFXklL
707
704
  flywheel/models/work_in_progress_features.py,sha256=dZ_cJTztcU3wPIUKptwZzb7hdv9mo27wXfWgolkJa1k,3944
708
705
  flywheel/models/zipfile_info.py,sha256=8ivqs0rTQaiC8KirTaK_WqSGkLvCndI_58dylOBKwa4,5243
709
706
  flywheel/models/zipfile_member_info.py,sha256=zAg9wRUeYXbz6bvXdo4xYFHtvv9eRSCjvyaTrQ3zvN4,6346
710
- flywheel_sdk-20.1.0rc0.dist-info/LICENSE.txt,sha256=F_Wp8b8L-2vc2xxcRr402gN1gg-2y0p2oG8aSj3hdMA,1057
711
- flywheel_sdk-20.1.0rc0.dist-info/METADATA,sha256=wR1SWL4kcDKBZp_LTy0uV2qLkSrTWRJ3o0_GBtZiBzU,1097
712
- flywheel_sdk-20.1.0rc0.dist-info/WHEEL,sha256=9Hm2OB-j1QcCUq9Jguht7ayGIIZBRTdOXD1qg9cCgPM,109
713
- flywheel_sdk-20.1.0rc0.dist-info/top_level.txt,sha256=BQ1fXyhiudo2To7zMNcPOOGa6qtZuhx0V_I7CO-vU6w,9
714
- flywheel_sdk-20.1.0rc0.dist-info/RECORD,,
707
+ flywheel_sdk-20.2.0.dist-info/licenses/LICENSE.txt,sha256=F_Wp8b8L-2vc2xxcRr402gN1gg-2y0p2oG8aSj3hdMA,1057
708
+ flywheel_sdk-20.2.0.dist-info/METADATA,sha256=zydZV_-0vnwsrDBEV9mQ6OlCDlrSniuVkf6Gby0JB-A,1043
709
+ flywheel_sdk-20.2.0.dist-info/WHEEL,sha256=MAQBAzGbXNI3bUmkDsiV_duv8i-gcdnLzw7cfUFwqhU,109
710
+ flywheel_sdk-20.2.0.dist-info/top_level.txt,sha256=BQ1fXyhiudo2To7zMNcPOOGa6qtZuhx0V_I7CO-vU6w,9
711
+ flywheel_sdk-20.2.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (78.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any
@@ -1,188 +0,0 @@
1
- # coding: utf-8
2
-
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
- """
12
-
13
-
14
- ## NOTE: This file is auto generated by the swagger code generator program.
15
- ## Do not edit the file manually.
16
-
17
- import pprint
18
- import re # noqa: F401
19
- import six
20
-
21
- class AzureMLAccount(object):
22
-
23
- swagger_types = {
24
- 'email': 'str',
25
- 'onboarded': 'bool'
26
- }
27
-
28
- attribute_map = {
29
- 'email': 'email',
30
- 'onboarded': 'onboarded'
31
- }
32
-
33
- rattribute_map = {
34
- 'email': 'email',
35
- 'onboarded': 'onboarded'
36
- }
37
-
38
- def __init__(self, email=None, onboarded=None): # noqa: E501
39
- """AzureMLAccount - a model defined in Swagger"""
40
- super(AzureMLAccount, self).__init__()
41
-
42
- self._email = None
43
- self._onboarded = None
44
- self.discriminator = None
45
- self.alt_discriminator = None
46
-
47
- self.email = email
48
- self.onboarded = onboarded
49
-
50
- @property
51
- def email(self):
52
- """Gets the email of this AzureMLAccount.
53
-
54
-
55
- :return: The email of this AzureMLAccount.
56
- :rtype: str
57
- """
58
- return self._email
59
-
60
- @email.setter
61
- def email(self, email):
62
- """Sets the email of this AzureMLAccount.
63
-
64
-
65
- :param email: The email of this AzureMLAccount. # noqa: E501
66
- :type: str
67
- """
68
-
69
- self._email = email
70
-
71
- @property
72
- def onboarded(self):
73
- """Gets the onboarded of this AzureMLAccount.
74
-
75
-
76
- :return: The onboarded of this AzureMLAccount.
77
- :rtype: bool
78
- """
79
- return self._onboarded
80
-
81
- @onboarded.setter
82
- def onboarded(self, onboarded):
83
- """Sets the onboarded of this AzureMLAccount.
84
-
85
-
86
- :param onboarded: The onboarded of this AzureMLAccount. # noqa: E501
87
- :type: bool
88
- """
89
-
90
- self._onboarded = onboarded
91
-
92
-
93
- @staticmethod
94
- def positional_to_model(value):
95
- """Converts a positional argument to a model value"""
96
- return value
97
-
98
- def return_value(self):
99
- """Unwraps return value from model"""
100
- return self
101
-
102
- def to_dict(self):
103
- """Returns the model properties as a dict"""
104
- result = {}
105
-
106
- for attr, _ in six.iteritems(self.swagger_types):
107
- value = getattr(self, attr)
108
- if isinstance(value, list):
109
- result[attr] = list(map(
110
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
111
- value
112
- ))
113
- elif hasattr(value, "to_dict"):
114
- result[attr] = value.to_dict()
115
- elif isinstance(value, dict):
116
- result[attr] = dict(map(
117
- lambda item: (item[0], item[1].to_dict())
118
- if hasattr(item[1], "to_dict") else item,
119
- value.items()
120
- ))
121
- else:
122
- result[attr] = value
123
-
124
- return result
125
-
126
- def to_str(self):
127
- """Returns the string representation of the model"""
128
- return pprint.pformat(self.to_dict())
129
-
130
- def __repr__(self):
131
- """For `print` and `pprint`"""
132
- return self.to_str()
133
-
134
- def __eq__(self, other):
135
- """Returns true if both objects are equal"""
136
- if not isinstance(other, AzureMLAccount):
137
- return False
138
-
139
- return self.__dict__ == other.__dict__
140
-
141
- def __ne__(self, other):
142
- """Returns true if both objects are not equal"""
143
- return not self == other
144
-
145
- # Container emulation
146
- def __getitem__(self, key):
147
- """Returns the value of key"""
148
- key = self._map_key(key)
149
- return getattr(self, key)
150
-
151
- def __setitem__(self, key, value):
152
- """Sets the value of key"""
153
- key = self._map_key(key)
154
- setattr(self, key, value)
155
-
156
- def __contains__(self, key):
157
- """Checks if the given value is a key in this object"""
158
- key = self._map_key(key, raise_on_error=False)
159
- return key is not None
160
-
161
- def keys(self):
162
- """Returns the list of json properties in the object"""
163
- return self.__class__.rattribute_map.keys()
164
-
165
- def values(self):
166
- """Returns the list of values in the object"""
167
- for key in self.__class__.attribute_map.keys():
168
- yield getattr(self, key)
169
-
170
- def items(self):
171
- """Returns the list of json property to value mapping"""
172
- for key, prop in self.__class__.rattribute_map.items():
173
- yield key, getattr(self, prop)
174
-
175
- def get(self, key, default=None):
176
- """Get the value of the provided json property, or default"""
177
- key = self._map_key(key, raise_on_error=False)
178
- if key:
179
- return getattr(self, key, default)
180
- return default
181
-
182
- def _map_key(self, key, raise_on_error=True):
183
- result = self.__class__.rattribute_map.get(key)
184
- if result is None:
185
- if raise_on_error:
186
- raise AttributeError('Invalid attribute name: {}'.format(key))
187
- return None
188
- return '_' + result
@@ -1,244 +0,0 @@
1
- # coding: utf-8
2
-
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
- """
12
-
13
-
14
- ## NOTE: This file is auto generated by the swagger code generator program.
15
- ## Do not edit the file manually.
16
-
17
- import pprint
18
- import re # noqa: F401
19
- import six
20
-
21
- class AzureMLInitialization(object):
22
-
23
- swagger_types = {
24
- 'resources': 'AzureMLResourceInitStatus',
25
- 'xfer_storage': 'AzureMLResourceInitStatus',
26
- 'user_role_assignments': 'AzureMLResourceInitStatus',
27
- 'compute_instances': 'AzureMLResourceInitStatus'
28
- }
29
-
30
- attribute_map = {
31
- 'resources': 'resources',
32
- 'xfer_storage': 'xfer_storage',
33
- 'user_role_assignments': 'user_role_assignments',
34
- 'compute_instances': 'compute_instances'
35
- }
36
-
37
- rattribute_map = {
38
- 'resources': 'resources',
39
- 'xfer_storage': 'xfer_storage',
40
- 'user_role_assignments': 'user_role_assignments',
41
- 'compute_instances': 'compute_instances'
42
- }
43
-
44
- def __init__(self, resources=None, xfer_storage=None, user_role_assignments=None, compute_instances=None): # noqa: E501
45
- """AzureMLInitialization - a model defined in Swagger"""
46
- super(AzureMLInitialization, self).__init__()
47
-
48
- self._resources = None
49
- self._xfer_storage = None
50
- self._user_role_assignments = None
51
- self._compute_instances = None
52
- self.discriminator = None
53
- self.alt_discriminator = None
54
-
55
- if resources is not None:
56
- self.resources = resources
57
- if xfer_storage is not None:
58
- self.xfer_storage = xfer_storage
59
- if user_role_assignments is not None:
60
- self.user_role_assignments = user_role_assignments
61
- if compute_instances is not None:
62
- self.compute_instances = compute_instances
63
-
64
- @property
65
- def resources(self):
66
- """Gets the resources of this AzureMLInitialization.
67
-
68
-
69
- :return: The resources of this AzureMLInitialization.
70
- :rtype: AzureMLResourceInitStatus
71
- """
72
- return self._resources
73
-
74
- @resources.setter
75
- def resources(self, resources):
76
- """Sets the resources of this AzureMLInitialization.
77
-
78
-
79
- :param resources: The resources of this AzureMLInitialization. # noqa: E501
80
- :type: AzureMLResourceInitStatus
81
- """
82
-
83
- self._resources = resources
84
-
85
- @property
86
- def xfer_storage(self):
87
- """Gets the xfer_storage of this AzureMLInitialization.
88
-
89
-
90
- :return: The xfer_storage of this AzureMLInitialization.
91
- :rtype: AzureMLResourceInitStatus
92
- """
93
- return self._xfer_storage
94
-
95
- @xfer_storage.setter
96
- def xfer_storage(self, xfer_storage):
97
- """Sets the xfer_storage of this AzureMLInitialization.
98
-
99
-
100
- :param xfer_storage: The xfer_storage of this AzureMLInitialization. # noqa: E501
101
- :type: AzureMLResourceInitStatus
102
- """
103
-
104
- self._xfer_storage = xfer_storage
105
-
106
- @property
107
- def user_role_assignments(self):
108
- """Gets the user_role_assignments of this AzureMLInitialization.
109
-
110
-
111
- :return: The user_role_assignments of this AzureMLInitialization.
112
- :rtype: AzureMLResourceInitStatus
113
- """
114
- return self._user_role_assignments
115
-
116
- @user_role_assignments.setter
117
- def user_role_assignments(self, user_role_assignments):
118
- """Sets the user_role_assignments of this AzureMLInitialization.
119
-
120
-
121
- :param user_role_assignments: The user_role_assignments of this AzureMLInitialization. # noqa: E501
122
- :type: AzureMLResourceInitStatus
123
- """
124
-
125
- self._user_role_assignments = user_role_assignments
126
-
127
- @property
128
- def compute_instances(self):
129
- """Gets the compute_instances of this AzureMLInitialization.
130
-
131
-
132
- :return: The compute_instances of this AzureMLInitialization.
133
- :rtype: AzureMLResourceInitStatus
134
- """
135
- return self._compute_instances
136
-
137
- @compute_instances.setter
138
- def compute_instances(self, compute_instances):
139
- """Sets the compute_instances of this AzureMLInitialization.
140
-
141
-
142
- :param compute_instances: The compute_instances of this AzureMLInitialization. # noqa: E501
143
- :type: AzureMLResourceInitStatus
144
- """
145
-
146
- self._compute_instances = compute_instances
147
-
148
-
149
- @staticmethod
150
- def positional_to_model(value):
151
- """Converts a positional argument to a model value"""
152
- return value
153
-
154
- def return_value(self):
155
- """Unwraps return value from model"""
156
- return self
157
-
158
- def to_dict(self):
159
- """Returns the model properties as a dict"""
160
- result = {}
161
-
162
- for attr, _ in six.iteritems(self.swagger_types):
163
- value = getattr(self, attr)
164
- if isinstance(value, list):
165
- result[attr] = list(map(
166
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
167
- value
168
- ))
169
- elif hasattr(value, "to_dict"):
170
- result[attr] = value.to_dict()
171
- elif isinstance(value, dict):
172
- result[attr] = dict(map(
173
- lambda item: (item[0], item[1].to_dict())
174
- if hasattr(item[1], "to_dict") else item,
175
- value.items()
176
- ))
177
- else:
178
- result[attr] = value
179
-
180
- return result
181
-
182
- def to_str(self):
183
- """Returns the string representation of the model"""
184
- return pprint.pformat(self.to_dict())
185
-
186
- def __repr__(self):
187
- """For `print` and `pprint`"""
188
- return self.to_str()
189
-
190
- def __eq__(self, other):
191
- """Returns true if both objects are equal"""
192
- if not isinstance(other, AzureMLInitialization):
193
- return False
194
-
195
- return self.__dict__ == other.__dict__
196
-
197
- def __ne__(self, other):
198
- """Returns true if both objects are not equal"""
199
- return not self == other
200
-
201
- # Container emulation
202
- def __getitem__(self, key):
203
- """Returns the value of key"""
204
- key = self._map_key(key)
205
- return getattr(self, key)
206
-
207
- def __setitem__(self, key, value):
208
- """Sets the value of key"""
209
- key = self._map_key(key)
210
- setattr(self, key, value)
211
-
212
- def __contains__(self, key):
213
- """Checks if the given value is a key in this object"""
214
- key = self._map_key(key, raise_on_error=False)
215
- return key is not None
216
-
217
- def keys(self):
218
- """Returns the list of json properties in the object"""
219
- return self.__class__.rattribute_map.keys()
220
-
221
- def values(self):
222
- """Returns the list of values in the object"""
223
- for key in self.__class__.attribute_map.keys():
224
- yield getattr(self, key)
225
-
226
- def items(self):
227
- """Returns the list of json property to value mapping"""
228
- for key, prop in self.__class__.rattribute_map.items():
229
- yield key, getattr(self, prop)
230
-
231
- def get(self, key, default=None):
232
- """Get the value of the provided json property, or default"""
233
- key = self._map_key(key, raise_on_error=False)
234
- if key:
235
- return getattr(self, key, default)
236
- return default
237
-
238
- def _map_key(self, key, raise_on_error=True):
239
- result = self.__class__.rattribute_map.get(key)
240
- if result is None:
241
- if raise_on_error:
242
- raise AttributeError('Invalid attribute name: {}'.format(key))
243
- return None
244
- return '_' + result