cirro-api-client 0.1.2__tar.gz → 0.1.3__tar.gz

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 (213) hide show
  1. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/PKG-INFO +1 -1
  2. cirro_api_client-0.1.3/cirro_api_client/v1/api/projects/archive_project.py +98 -0
  3. cirro_api_client-0.1.3/cirro_api_client/v1/api/projects/unarchive_project.py +98 -0
  4. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/__init__.py +2 -0
  5. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/custom_pipeline_settings.py +9 -0
  6. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/dataset_viz.py +2 -2
  7. cirro_api_client-0.1.3/cirro_api_client/v1/models/feature_flags.py +54 -0
  8. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/process.py +16 -0
  9. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/process_detail.py +18 -0
  10. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/project_detail.py +36 -1
  11. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/project_role.py +1 -0
  12. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/project_settings.py +2 -2
  13. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/system_info_response.py +8 -0
  14. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/tenant_info.py +10 -0
  15. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/pyproject.toml +1 -1
  16. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/README.md +0 -0
  17. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/__init__.py +0 -0
  18. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/cirro_auth.py +0 -0
  19. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/cirro_client.py +0 -0
  20. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/__init__.py +0 -0
  21. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/__init__.py +0 -0
  22. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/audit/__init__.py +0 -0
  23. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/audit/get_event.py +0 -0
  24. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/audit/list_events.py +0 -0
  25. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/billing/__init__.py +0 -0
  26. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/billing/create_billing_account.py +0 -0
  27. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/billing/delete_billing_account.py +0 -0
  28. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/billing/generate_billing_report.py +0 -0
  29. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/billing/get_billing_accounts.py +0 -0
  30. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/billing/update_billing_account.py +0 -0
  31. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/dashboards/__init__.py +0 -0
  32. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/dashboards/create_dashboard.py +0 -0
  33. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/dashboards/delete_dashboard.py +0 -0
  34. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/dashboards/get_dashboard.py +0 -0
  35. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/dashboards/get_dashboards.py +0 -0
  36. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/dashboards/update_dashboard.py +0 -0
  37. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/datasets/__init__.py +0 -0
  38. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/datasets/delete_dataset.py +0 -0
  39. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/datasets/get_dataset.py +0 -0
  40. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/datasets/get_dataset_manifest.py +0 -0
  41. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/datasets/get_datasets.py +0 -0
  42. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/datasets/import_public_dataset.py +0 -0
  43. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/datasets/ingest_samples.py +0 -0
  44. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/datasets/regenerate_manifest.py +0 -0
  45. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/datasets/rerun_transform.py +0 -0
  46. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/datasets/update_dataset.py +0 -0
  47. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/datasets/upload_dataset.py +0 -0
  48. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/execution/__init__.py +0 -0
  49. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/execution/get_execution_logs.py +0 -0
  50. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/execution/get_project_summary.py +0 -0
  51. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/execution/get_task_logs.py +0 -0
  52. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/execution/get_tasks_for_execution.py +0 -0
  53. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/execution/run_analysis.py +0 -0
  54. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/execution/stop_analysis.py +0 -0
  55. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/file/__init__.py +0 -0
  56. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/file/generate_project_file_access_token.py +0 -0
  57. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/file/generate_project_sftp_token.py +0 -0
  58. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/metadata/__init__.py +0 -0
  59. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/metadata/get_project_samples.py +0 -0
  60. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/metadata/get_project_schema.py +0 -0
  61. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/metadata/update_project_schema.py +0 -0
  62. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/metadata/update_sample.py +0 -0
  63. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/metrics/__init__.py +0 -0
  64. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/metrics/get_all_metrics.py +0 -0
  65. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/metrics/get_project_metrics.py +0 -0
  66. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/notebooks/__init__.py +0 -0
  67. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/notebooks/create_notebook_instance.py +0 -0
  68. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/notebooks/delete_notebook_instance.py +0 -0
  69. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/notebooks/generate_notebook_instance_url.py +0 -0
  70. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/notebooks/get_notebook_instance_status.py +0 -0
  71. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/notebooks/get_notebook_instances.py +0 -0
  72. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/notebooks/stop_notebook_instance.py +0 -0
  73. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/processes/__init__.py +0 -0
  74. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/processes/archive_custom_process.py +0 -0
  75. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/processes/calculate_pipeline_cost.py +0 -0
  76. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/processes/create_custom_process.py +0 -0
  77. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/processes/get_process.py +0 -0
  78. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/processes/get_process_parameters.py +0 -0
  79. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/processes/get_processes.py +0 -0
  80. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/processes/sync_custom_process.py +0 -0
  81. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/processes/update_custom_process.py +0 -0
  82. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/processes/validate_file_requirements.py +0 -0
  83. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/projects/__init__.py +0 -0
  84. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/projects/approve_access_request.py +0 -0
  85. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/projects/create_access_request.py +0 -0
  86. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/projects/create_project.py +0 -0
  87. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/projects/deny_access_request.py +0 -0
  88. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/projects/get_access_requests.py +0 -0
  89. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/projects/get_discoverable_projects.py +0 -0
  90. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/projects/get_project.py +0 -0
  91. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/projects/get_project_users.py +0 -0
  92. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/projects/get_projects.py +0 -0
  93. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/projects/redeploy_project.py +0 -0
  94. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/projects/set_user_project_role.py +0 -0
  95. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/projects/update_project.py +0 -0
  96. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/projects/update_project_tags.py +0 -0
  97. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/references/__init__.py +0 -0
  98. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/references/create_project_reference.py +0 -0
  99. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/references/delete_project_reference.py +0 -0
  100. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/references/get_reference_types.py +0 -0
  101. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/references/get_references.py +0 -0
  102. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/references/get_references_for_project.py +0 -0
  103. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/references/refresh_project_references.py +0 -0
  104. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/system/__init__.py +0 -0
  105. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/system/get_service_connections.py +0 -0
  106. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/system/info.py +0 -0
  107. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/users/__init__.py +0 -0
  108. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/users/get_user.py +0 -0
  109. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/users/get_users.py +0 -0
  110. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/users/invite_user.py +0 -0
  111. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/users/sign_out_user.py +0 -0
  112. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/api/users/update_user.py +0 -0
  113. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/client.py +0 -0
  114. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/errors.py +0 -0
  115. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/access_type.py +0 -0
  116. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/allowed_data_type.py +0 -0
  117. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/approve_project_access_request.py +0 -0
  118. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/audit_event.py +0 -0
  119. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/audit_event_changes.py +0 -0
  120. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/audit_event_event_detail.py +0 -0
  121. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/auth_info.py +0 -0
  122. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/aws_credentials.py +0 -0
  123. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/billing_account.py +0 -0
  124. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/billing_account_request.py +0 -0
  125. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/billing_method.py +0 -0
  126. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/budget_period.py +0 -0
  127. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/calculate_pipeline_cost_request.py +0 -0
  128. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/cloud_account.py +0 -0
  129. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/cloud_account_type.py +0 -0
  130. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/column_definition.py +0 -0
  131. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/contact.py +0 -0
  132. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/create_notebook_instance_request.py +0 -0
  133. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/create_project_access_request.py +0 -0
  134. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/create_reference_request.py +0 -0
  135. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/create_response.py +0 -0
  136. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/customer_type.py +0 -0
  137. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/dashboard.py +0 -0
  138. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/dashboard_dashboard_data.py +0 -0
  139. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/dashboard_info.py +0 -0
  140. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/dashboard_request.py +0 -0
  141. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/dashboard_request_dashboard_data.py +0 -0
  142. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/dashboard_request_info.py +0 -0
  143. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/dataset.py +0 -0
  144. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/dataset_assets_manifest.py +0 -0
  145. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/dataset_detail.py +0 -0
  146. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/dataset_detail_info.py +0 -0
  147. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/dataset_detail_params.py +0 -0
  148. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/error_message.py +0 -0
  149. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/executor.py +0 -0
  150. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/file_access_request.py +0 -0
  151. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/file_entry.py +0 -0
  152. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/file_entry_metadata.py +0 -0
  153. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/file_mapping_rule.py +0 -0
  154. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/file_name_pattern.py +0 -0
  155. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/file_requirements.py +0 -0
  156. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/form_schema.py +0 -0
  157. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/form_schema_form.py +0 -0
  158. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/form_schema_ui.py +0 -0
  159. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/generate_sftp_credentials_request.py +0 -0
  160. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/get_execution_logs_response.py +0 -0
  161. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/get_project_summary_response_200.py +0 -0
  162. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/import_data_request.py +0 -0
  163. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/invite_user_request.py +0 -0
  164. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/invite_user_response.py +0 -0
  165. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/log_entry.py +0 -0
  166. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/login_provider.py +0 -0
  167. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/metric_record.py +0 -0
  168. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/metric_record_services.py +0 -0
  169. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/notebook_instance.py +0 -0
  170. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/notebook_instance_status_response.py +0 -0
  171. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/open_notebook_instance_response.py +0 -0
  172. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/paginated_response_dataset_list_dto.py +0 -0
  173. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/paginated_response_sample_dto.py +0 -0
  174. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/pipeline_code.py +0 -0
  175. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/pipeline_cost.py +0 -0
  176. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/portal_error_response.py +0 -0
  177. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/project.py +0 -0
  178. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/project_access_request.py +0 -0
  179. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/project_metrics.py +0 -0
  180. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/project_request.py +0 -0
  181. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/project_user.py +0 -0
  182. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/reference.py +0 -0
  183. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/reference_type.py +0 -0
  184. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/reference_type_validation_item.py +0 -0
  185. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/repository_type.py +0 -0
  186. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/request_status.py +0 -0
  187. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/resources_info.py +0 -0
  188. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/run_analysis_request.py +0 -0
  189. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/run_analysis_request_params.py +0 -0
  190. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/sample.py +0 -0
  191. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/sample_metadata.py +0 -0
  192. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/sample_request.py +0 -0
  193. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/sample_request_metadata.py +0 -0
  194. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/service_connection.py +0 -0
  195. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/set_user_project_role_request.py +0 -0
  196. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/sftp_credentials.py +0 -0
  197. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/status.py +0 -0
  198. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/stop_execution_response.py +0 -0
  199. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/sync_status.py +0 -0
  200. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/table.py +0 -0
  201. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/tag.py +0 -0
  202. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/task.py +0 -0
  203. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/update_dataset_request.py +0 -0
  204. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/update_user_request.py +0 -0
  205. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/update_user_request_settings.py +0 -0
  206. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/upload_dataset_create_response.py +0 -0
  207. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/upload_dataset_request.py +0 -0
  208. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/user.py +0 -0
  209. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/user_detail.py +0 -0
  210. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/user_project_assignment.py +0 -0
  211. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/models/validate_file_requirements_request.py +0 -0
  212. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/py.typed +0 -0
  213. {cirro_api_client-0.1.2 → cirro_api_client-0.1.3}/cirro_api_client/v1/types.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cirro_api_client
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: A client library for accessing Cirro
5
5
  Home-page: https://github.com/CirroBio/Cirro-client-python
6
6
  License: MIT
@@ -0,0 +1,98 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Dict, Optional
3
+
4
+ import httpx
5
+
6
+ from ... import errors
7
+ from ...client import Client
8
+ from ...types import Response
9
+
10
+
11
+ def _get_kwargs(
12
+ project_id: str,
13
+ ) -> Dict[str, Any]:
14
+ _kwargs: Dict[str, Any] = {
15
+ "method": "put",
16
+ "url": f"/projects/{project_id}:archive",
17
+ }
18
+
19
+ return _kwargs
20
+
21
+
22
+ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Any]:
23
+ if response.status_code == HTTPStatus.OK:
24
+ return None
25
+
26
+ errors.handle_error_response(response, client.raise_on_unexpected_status)
27
+
28
+
29
+ def _build_response(*, client: Client, response: httpx.Response) -> Response[Any]:
30
+ return Response(
31
+ status_code=HTTPStatus(response.status_code),
32
+ content=response.content,
33
+ headers=response.headers,
34
+ parsed=_parse_response(client=client, response=response),
35
+ )
36
+
37
+
38
+ def sync_detailed(
39
+ project_id: str,
40
+ *,
41
+ client: Client,
42
+ ) -> Response[Any]:
43
+ """Archive project
44
+
45
+ Sets the project status to archived
46
+
47
+ Args:
48
+ project_id (str):
49
+ client (Client): instance of the API client
50
+
51
+ Raises:
52
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
53
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
54
+
55
+ Returns:
56
+ Response[Any]
57
+ """
58
+
59
+ kwargs = _get_kwargs(
60
+ project_id=project_id,
61
+ )
62
+
63
+ response = client.get_httpx_client().request(
64
+ auth=client.get_auth(),
65
+ **kwargs,
66
+ )
67
+
68
+ return _build_response(client=client, response=response)
69
+
70
+
71
+ async def asyncio_detailed(
72
+ project_id: str,
73
+ *,
74
+ client: Client,
75
+ ) -> Response[Any]:
76
+ """Archive project
77
+
78
+ Sets the project status to archived
79
+
80
+ Args:
81
+ project_id (str):
82
+ client (Client): instance of the API client
83
+
84
+ Raises:
85
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
86
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
87
+
88
+ Returns:
89
+ Response[Any]
90
+ """
91
+
92
+ kwargs = _get_kwargs(
93
+ project_id=project_id,
94
+ )
95
+
96
+ response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs)
97
+
98
+ return _build_response(client=client, response=response)
@@ -0,0 +1,98 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Dict, Optional
3
+
4
+ import httpx
5
+
6
+ from ... import errors
7
+ from ...client import Client
8
+ from ...types import Response
9
+
10
+
11
+ def _get_kwargs(
12
+ project_id: str,
13
+ ) -> Dict[str, Any]:
14
+ _kwargs: Dict[str, Any] = {
15
+ "method": "put",
16
+ "url": f"/projects/{project_id}:unarchive",
17
+ }
18
+
19
+ return _kwargs
20
+
21
+
22
+ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Any]:
23
+ if response.status_code == HTTPStatus.OK:
24
+ return None
25
+
26
+ errors.handle_error_response(response, client.raise_on_unexpected_status)
27
+
28
+
29
+ def _build_response(*, client: Client, response: httpx.Response) -> Response[Any]:
30
+ return Response(
31
+ status_code=HTTPStatus(response.status_code),
32
+ content=response.content,
33
+ headers=response.headers,
34
+ parsed=_parse_response(client=client, response=response),
35
+ )
36
+
37
+
38
+ def sync_detailed(
39
+ project_id: str,
40
+ *,
41
+ client: Client,
42
+ ) -> Response[Any]:
43
+ """Unarchive project
44
+
45
+ Sets the project status to active
46
+
47
+ Args:
48
+ project_id (str):
49
+ client (Client): instance of the API client
50
+
51
+ Raises:
52
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
53
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
54
+
55
+ Returns:
56
+ Response[Any]
57
+ """
58
+
59
+ kwargs = _get_kwargs(
60
+ project_id=project_id,
61
+ )
62
+
63
+ response = client.get_httpx_client().request(
64
+ auth=client.get_auth(),
65
+ **kwargs,
66
+ )
67
+
68
+ return _build_response(client=client, response=response)
69
+
70
+
71
+ async def asyncio_detailed(
72
+ project_id: str,
73
+ *,
74
+ client: Client,
75
+ ) -> Response[Any]:
76
+ """Unarchive project
77
+
78
+ Sets the project status to active
79
+
80
+ Args:
81
+ project_id (str):
82
+ client (Client): instance of the API client
83
+
84
+ Raises:
85
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
86
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
87
+
88
+ Returns:
89
+ Response[Any]
90
+ """
91
+
92
+ kwargs = _get_kwargs(
93
+ project_id=project_id,
94
+ )
95
+
96
+ response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs)
97
+
98
+ return _build_response(client=client, response=response)
@@ -37,6 +37,7 @@ from .dataset_detail_params import DatasetDetailParams
37
37
  from .dataset_viz import DatasetViz
38
38
  from .error_message import ErrorMessage
39
39
  from .executor import Executor
40
+ from .feature_flags import FeatureFlags
40
41
  from .file_access_request import FileAccessRequest
41
42
  from .file_entry import FileEntry
42
43
  from .file_entry_metadata import FileEntryMetadata
@@ -145,6 +146,7 @@ __all__ = (
145
146
  "DatasetViz",
146
147
  "ErrorMessage",
147
148
  "Executor",
149
+ "FeatureFlags",
148
150
  "FileAccessRequest",
149
151
  "FileEntry",
150
152
  "FileEntryMetadata",
@@ -23,6 +23,7 @@ class CustomPipelineSettings:
23
23
  last_sync (Union[None, Unset, datetime.datetime]): Time of last sync
24
24
  sync_status (Union[None, SyncStatus, Unset]):
25
25
  commit_hash (Union[None, Unset, str]): Commit hash of the last successful sync
26
+ is_authorized (Union[Unset, bool]): Whether we are authorized to access the repository Default: False.
26
27
  """
27
28
 
28
29
  repository: str
@@ -31,6 +32,7 @@ class CustomPipelineSettings:
31
32
  last_sync: Union[None, Unset, datetime.datetime] = UNSET
32
33
  sync_status: Union[None, SyncStatus, Unset] = UNSET
33
34
  commit_hash: Union[None, Unset, str] = UNSET
35
+ is_authorized: Union[Unset, bool] = False
34
36
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
35
37
 
36
38
  def to_dict(self) -> Dict[str, Any]:
@@ -62,6 +64,8 @@ class CustomPipelineSettings:
62
64
  else:
63
65
  commit_hash = self.commit_hash
64
66
 
67
+ is_authorized = self.is_authorized
68
+
65
69
  field_dict: Dict[str, Any] = {}
66
70
  field_dict.update(self.additional_properties)
67
71
  field_dict.update(
@@ -79,6 +83,8 @@ class CustomPipelineSettings:
79
83
  field_dict["syncStatus"] = sync_status
80
84
  if commit_hash is not UNSET:
81
85
  field_dict["commitHash"] = commit_hash
86
+ if is_authorized is not UNSET:
87
+ field_dict["isAuthorized"] = is_authorized
82
88
 
83
89
  return field_dict
84
90
 
@@ -134,6 +140,8 @@ class CustomPipelineSettings:
134
140
 
135
141
  commit_hash = _parse_commit_hash(d.pop("commitHash", UNSET))
136
142
 
143
+ is_authorized = d.pop("isAuthorized", UNSET)
144
+
137
145
  custom_pipeline_settings = cls(
138
146
  repository=repository,
139
147
  branch=branch,
@@ -141,6 +149,7 @@ class CustomPipelineSettings:
141
149
  last_sync=last_sync,
142
150
  sync_status=sync_status,
143
151
  commit_hash=commit_hash,
152
+ is_authorized=is_authorized,
144
153
  )
145
154
 
146
155
  custom_pipeline_settings.additional_properties = d
@@ -15,13 +15,13 @@ class DatasetViz:
15
15
  name (Union[Unset, str]): Name of viz
16
16
  desc (Union[Unset, str]): Description of viz
17
17
  type (Union[Unset, str]): Type of viz Example: vitescce.
18
- config (Union[Unset, str]): Path to config file used to render viz
18
+ config (Union[Unset, Any]): Config or path to config used to render viz
19
19
  """
20
20
 
21
21
  name: Union[Unset, str] = UNSET
22
22
  desc: Union[Unset, str] = UNSET
23
23
  type: Union[Unset, str] = UNSET
24
- config: Union[Unset, str] = UNSET
24
+ config: Union[Unset, Any] = UNSET
25
25
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
26
26
 
27
27
  def to_dict(self) -> Dict[str, Any]:
@@ -0,0 +1,54 @@
1
+ from typing import Any, Dict, List, Type, TypeVar
2
+
3
+ from attrs import define as _attrs_define
4
+ from attrs import field as _attrs_field
5
+
6
+ T = TypeVar("T", bound="FeatureFlags")
7
+
8
+
9
+ @_attrs_define
10
+ class FeatureFlags:
11
+ """
12
+ Attributes:
13
+ sftp_enabled (bool):
14
+ governance_enabled (bool):
15
+ """
16
+
17
+ sftp_enabled: bool
18
+ governance_enabled: bool
19
+ additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
20
+
21
+ def to_dict(self) -> Dict[str, Any]:
22
+ sftp_enabled = self.sftp_enabled
23
+
24
+ governance_enabled = self.governance_enabled
25
+
26
+ field_dict: Dict[str, Any] = {}
27
+ field_dict.update(self.additional_properties)
28
+ field_dict.update(
29
+ {
30
+ "sftpEnabled": sftp_enabled,
31
+ "governanceEnabled": governance_enabled,
32
+ }
33
+ )
34
+
35
+ return field_dict
36
+
37
+ @classmethod
38
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
39
+ d = src_dict.copy()
40
+ sftp_enabled = d.pop("sftpEnabled")
41
+
42
+ governance_enabled = d.pop("governanceEnabled")
43
+
44
+ feature_flags = cls(
45
+ sftp_enabled=sftp_enabled,
46
+ governance_enabled=governance_enabled,
47
+ )
48
+
49
+ feature_flags.additional_properties = d
50
+ return feature_flags
51
+
52
+ @property
53
+ def additional_keys(self) -> List[str]:
54
+ return list(self.additional_properties.keys())
@@ -16,6 +16,8 @@ class Process:
16
16
  id (str): Unique ID of the Process Example: process-hutch-magic_flute-1_0.
17
17
  name (str): Friendly name for the process Example: MAGeCK Flute.
18
18
  executor (Executor): How the workflow is executed
19
+ category (str): Category of the process Example: Microbial Analysis.
20
+ pipeline_type (str): Type of pipeline Example: nf-core.
19
21
  description (Union[Unset, str]): Example: MAGeCK Flute enables accurate identification of essential genes with
20
22
  their related biological functions.
21
23
  data_type (Union[None, Unset, str]): Name of the data type this pipeline produces (if it is not defined, use the
@@ -34,6 +36,8 @@ class Process:
34
36
  id: str
35
37
  name: str
36
38
  executor: Executor
39
+ category: str
40
+ pipeline_type: str
37
41
  description: Union[Unset, str] = UNSET
38
42
  data_type: Union[None, Unset, str] = UNSET
39
43
  documentation_url: Union[Unset, str] = UNSET
@@ -53,6 +57,10 @@ class Process:
53
57
 
54
58
  executor = self.executor.value
55
59
 
60
+ category = self.category
61
+
62
+ pipeline_type = self.pipeline_type
63
+
56
64
  description = self.description
57
65
 
58
66
  data_type: Union[None, Unset, str]
@@ -90,6 +98,8 @@ class Process:
90
98
  "id": id,
91
99
  "name": name,
92
100
  "executor": executor,
101
+ "category": category,
102
+ "pipelineType": pipeline_type,
93
103
  }
94
104
  )
95
105
  if description is not UNSET:
@@ -124,6 +134,10 @@ class Process:
124
134
 
125
135
  executor = Executor(d.pop("executor"))
126
136
 
137
+ category = d.pop("category")
138
+
139
+ pipeline_type = d.pop("pipelineType")
140
+
127
141
  description = d.pop("description", UNSET)
128
142
 
129
143
  def _parse_data_type(data: object) -> Union[None, Unset, str]:
@@ -155,6 +169,8 @@ class Process:
155
169
  id=id,
156
170
  name=name,
157
171
  executor=executor,
172
+ category=category,
173
+ pipeline_type=pipeline_type,
158
174
  description=description,
159
175
  data_type=data_type,
160
176
  documentation_url=documentation_url,
@@ -29,6 +29,8 @@ class ProcessDetail:
29
29
  linked_project_ids (List[str]): Projects that can run this pipeline
30
30
  data_type (Union[None, Unset, str]): Name of the data type this pipeline produces (if it is not defined, use the
31
31
  name)
32
+ category (Union[Unset, str]): Category of the process Example: Microbial Analysis.
33
+ pipeline_type (Union[Unset, str]): Type of pipeline Example: nf-core.
32
34
  documentation_url (Union[None, Unset, str]): Link to pipeline documentation Example:
33
35
  https://docs.cirro.bio/pipelines/catalog_targeted_sequencing/#crispr-screen-analysis.
34
36
  file_requirements_message (Union[None, Unset, str]): Description of the files to be uploaded (optional)
@@ -49,6 +51,8 @@ class ProcessDetail:
49
51
  parent_process_ids: List[str]
50
52
  linked_project_ids: List[str]
51
53
  data_type: Union[None, Unset, str] = UNSET
54
+ category: Union[Unset, str] = UNSET
55
+ pipeline_type: Union[Unset, str] = UNSET
52
56
  documentation_url: Union[None, Unset, str] = UNSET
53
57
  file_requirements_message: Union[None, Unset, str] = UNSET
54
58
  pipeline_code: Union["PipelineCode", None, Unset] = UNSET
@@ -83,6 +87,10 @@ class ProcessDetail:
83
87
  else:
84
88
  data_type = self.data_type
85
89
 
90
+ category = self.category
91
+
92
+ pipeline_type = self.pipeline_type
93
+
86
94
  documentation_url: Union[None, Unset, str]
87
95
  if isinstance(self.documentation_url, Unset):
88
96
  documentation_url = UNSET
@@ -148,6 +156,10 @@ class ProcessDetail:
148
156
  )
149
157
  if data_type is not UNSET:
150
158
  field_dict["dataType"] = data_type
159
+ if category is not UNSET:
160
+ field_dict["category"] = category
161
+ if pipeline_type is not UNSET:
162
+ field_dict["pipelineType"] = pipeline_type
151
163
  if documentation_url is not UNSET:
152
164
  field_dict["documentationUrl"] = documentation_url
153
165
  if file_requirements_message is not UNSET:
@@ -197,6 +209,10 @@ class ProcessDetail:
197
209
 
198
210
  data_type = _parse_data_type(d.pop("dataType", UNSET))
199
211
 
212
+ category = d.pop("category", UNSET)
213
+
214
+ pipeline_type = d.pop("pipelineType", UNSET)
215
+
200
216
  def _parse_documentation_url(data: object) -> Union[None, Unset, str]:
201
217
  if data is None:
202
218
  return data
@@ -293,6 +309,8 @@ class ProcessDetail:
293
309
  parent_process_ids=parent_process_ids,
294
310
  linked_project_ids=linked_project_ids,
295
311
  data_type=data_type,
312
+ category=category,
313
+ pipeline_type=pipeline_type,
296
314
  documentation_url=documentation_url,
297
315
  file_requirements_message=file_requirements_message,
298
316
  pipeline_code=pipeline_code,
@@ -1,13 +1,15 @@
1
1
  import datetime
2
- from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar
2
+ from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union, cast
3
3
 
4
4
  from attrs import define as _attrs_define
5
5
  from attrs import field as _attrs_field
6
6
  from dateutil.parser import isoparse
7
7
 
8
8
  from ..models.status import Status
9
+ from ..types import UNSET, Unset
9
10
 
10
11
  if TYPE_CHECKING:
12
+ from ..models.cloud_account import CloudAccount
11
13
  from ..models.contact import Contact
12
14
  from ..models.project_settings import ProjectSettings
13
15
  from ..models.tag import Tag
@@ -32,6 +34,7 @@ class ProjectDetail:
32
34
  created_by (str):
33
35
  created_at (datetime.datetime):
34
36
  updated_at (datetime.datetime):
37
+ account (Union['CloudAccount', None, Unset]):
35
38
  """
36
39
 
37
40
  id: str
@@ -46,9 +49,12 @@ class ProjectDetail:
46
49
  created_by: str
47
50
  created_at: datetime.datetime
48
51
  updated_at: datetime.datetime
52
+ account: Union["CloudAccount", None, Unset] = UNSET
49
53
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
50
54
 
51
55
  def to_dict(self) -> Dict[str, Any]:
56
+ from ..models.cloud_account import CloudAccount
57
+
52
58
  id = self.id
53
59
 
54
60
  name = self.name
@@ -79,6 +85,14 @@ class ProjectDetail:
79
85
 
80
86
  updated_at = self.updated_at.isoformat()
81
87
 
88
+ account: Union[Dict[str, Any], None, Unset]
89
+ if isinstance(self.account, Unset):
90
+ account = UNSET
91
+ elif isinstance(self.account, CloudAccount):
92
+ account = self.account.to_dict()
93
+ else:
94
+ account = self.account
95
+
82
96
  field_dict: Dict[str, Any] = {}
83
97
  field_dict.update(self.additional_properties)
84
98
  field_dict.update(
@@ -97,11 +111,14 @@ class ProjectDetail:
97
111
  "updatedAt": updated_at,
98
112
  }
99
113
  )
114
+ if account is not UNSET:
115
+ field_dict["account"] = account
100
116
 
101
117
  return field_dict
102
118
 
103
119
  @classmethod
104
120
  def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
121
+ from ..models.cloud_account import CloudAccount
105
122
  from ..models.contact import Contact
106
123
  from ..models.project_settings import ProjectSettings
107
124
  from ..models.tag import Tag
@@ -141,6 +158,23 @@ class ProjectDetail:
141
158
 
142
159
  updated_at = isoparse(d.pop("updatedAt"))
143
160
 
161
+ def _parse_account(data: object) -> Union["CloudAccount", None, Unset]:
162
+ if data is None:
163
+ return data
164
+ if isinstance(data, Unset):
165
+ return data
166
+ try:
167
+ if not isinstance(data, dict):
168
+ raise TypeError()
169
+ account_type_1 = CloudAccount.from_dict(data)
170
+
171
+ return account_type_1
172
+ except: # noqa: E722
173
+ pass
174
+ return cast(Union["CloudAccount", None, Unset], data)
175
+
176
+ account = _parse_account(d.pop("account", UNSET))
177
+
144
178
  project_detail = cls(
145
179
  id=id,
146
180
  name=name,
@@ -154,6 +188,7 @@ class ProjectDetail:
154
188
  created_by=created_by,
155
189
  created_at=created_at,
156
190
  updated_at=updated_at,
191
+ account=account,
157
192
  )
158
193
 
159
194
  project_detail.additional_properties = d
@@ -6,6 +6,7 @@ class ProjectRole(str, Enum):
6
6
  COLLABORATOR = "COLLABORATOR"
7
7
  CONTRIBUTOR = "CONTRIBUTOR"
8
8
  NONE = "NONE"
9
+ OWNER = "OWNER"
9
10
  UNKNOWN = "UNKNOWN"
10
11
  """ This is a fallback value for when the value is not known, do not use this value when making requests """
11
12
 
@@ -27,9 +27,9 @@ class ProjectSettings:
27
27
  service_connections (Union[Unset, List[str]]): List of service connections to enable
28
28
  vpc_id (Union[None, Unset, str]): VPC that the compute environment will use Example: vpc-00000000000000000.
29
29
  batch_subnets (Union[List[str], None, Unset]): List of subnets that the compute environment will use Example:
30
- ["subnet-00000000000000000"].
30
+ ['subnet-00000000000000000'].
31
31
  sagemaker_subnets (Union[List[str], None, Unset]): List of subnets that the sagemaker instances will use
32
- Example: ["subnet-00000000000000000"].
32
+ Example: ['subnet-00000000000000000'].
33
33
  kms_arn (Union[None, Unset, str]): KMS Key ARN to encrypt S3 objects, if not provided, default bucket encryption
34
34
  will be used
35
35
  is_discoverable (Union[None, Unset, bool]): Enables the project to be discoverable by other users Default:
@@ -19,6 +19,7 @@ class SystemInfoResponse:
19
19
  resources_bucket (str):
20
20
  references_bucket (str):
21
21
  live_endpoint (str):
22
+ agent_endpoint (str):
22
23
  region (str):
23
24
  system_message (str):
24
25
  maintenance_mode_enabled (bool):
@@ -32,6 +33,7 @@ class SystemInfoResponse:
32
33
  resources_bucket: str
33
34
  references_bucket: str
34
35
  live_endpoint: str
36
+ agent_endpoint: str
35
37
  region: str
36
38
  system_message: str
37
39
  maintenance_mode_enabled: bool
@@ -49,6 +51,8 @@ class SystemInfoResponse:
49
51
 
50
52
  live_endpoint = self.live_endpoint
51
53
 
54
+ agent_endpoint = self.agent_endpoint
55
+
52
56
  region = self.region
53
57
 
54
58
  system_message = self.system_message
@@ -72,6 +76,7 @@ class SystemInfoResponse:
72
76
  "resourcesBucket": resources_bucket,
73
77
  "referencesBucket": references_bucket,
74
78
  "liveEndpoint": live_endpoint,
79
+ "agentEndpoint": agent_endpoint,
75
80
  "region": region,
76
81
  "systemMessage": system_message,
77
82
  "maintenanceModeEnabled": maintenance_mode_enabled,
@@ -98,6 +103,8 @@ class SystemInfoResponse:
98
103
 
99
104
  live_endpoint = d.pop("liveEndpoint")
100
105
 
106
+ agent_endpoint = d.pop("agentEndpoint")
107
+
101
108
  region = d.pop("region")
102
109
 
103
110
  system_message = d.pop("systemMessage")
@@ -118,6 +125,7 @@ class SystemInfoResponse:
118
125
  resources_bucket=resources_bucket,
119
126
  references_bucket=references_bucket,
120
127
  live_endpoint=live_endpoint,
128
+ agent_endpoint=agent_endpoint,
121
129
  region=region,
122
130
  system_message=system_message,
123
131
  maintenance_mode_enabled=maintenance_mode_enabled,
@@ -4,6 +4,7 @@ from attrs import define as _attrs_define
4
4
  from attrs import field as _attrs_field
5
5
 
6
6
  if TYPE_CHECKING:
7
+ from ..models.feature_flags import FeatureFlags
7
8
  from ..models.login_provider import LoginProvider
8
9
 
9
10
 
@@ -23,6 +24,7 @@ class TenantInfo:
23
24
  terms_of_service_url (str):
24
25
  privacy_policy_url (str):
25
26
  login_providers (List['LoginProvider']):
27
+ features (FeatureFlags):
26
28
  """
27
29
 
28
30
  id: str
@@ -34,6 +36,7 @@ class TenantInfo:
34
36
  terms_of_service_url: str
35
37
  privacy_policy_url: str
36
38
  login_providers: List["LoginProvider"]
39
+ features: "FeatureFlags"
37
40
  additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
38
41
 
39
42
  def to_dict(self) -> Dict[str, Any]:
@@ -58,6 +61,8 @@ class TenantInfo:
58
61
  login_providers_item = login_providers_item_data.to_dict()
59
62
  login_providers.append(login_providers_item)
60
63
 
64
+ features = self.features.to_dict()
65
+
61
66
  field_dict: Dict[str, Any] = {}
62
67
  field_dict.update(self.additional_properties)
63
68
  field_dict.update(
@@ -71,6 +76,7 @@ class TenantInfo:
71
76
  "termsOfServiceUrl": terms_of_service_url,
72
77
  "privacyPolicyUrl": privacy_policy_url,
73
78
  "loginProviders": login_providers,
79
+ "features": features,
74
80
  }
75
81
  )
76
82
 
@@ -78,6 +84,7 @@ class TenantInfo:
78
84
 
79
85
  @classmethod
80
86
  def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
87
+ from ..models.feature_flags import FeatureFlags
81
88
  from ..models.login_provider import LoginProvider
82
89
 
83
90
  d = src_dict.copy()
@@ -104,6 +111,8 @@ class TenantInfo:
104
111
 
105
112
  login_providers.append(login_providers_item)
106
113
 
114
+ features = FeatureFlags.from_dict(d.pop("features"))
115
+
107
116
  tenant_info = cls(
108
117
  id=id,
109
118
  name=name,
@@ -114,6 +123,7 @@ class TenantInfo:
114
123
  terms_of_service_url=terms_of_service_url,
115
124
  privacy_policy_url=privacy_policy_url,
116
125
  login_providers=login_providers,
126
+ features=features,
117
127
  )
118
128
 
119
129
  tenant_info.additional_properties = d