cirro-api-client 0.2.2__tar.gz → 0.2.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 (253) hide show
  1. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/PKG-INFO +1 -1
  2. cirro_api_client-0.2.3/cirro_api_client/v1/api/compute_environment/create_compute_environment.py +186 -0
  3. cirro_api_client-0.2.3/cirro_api_client/v1/api/compute_environment/delete_compute_environment.py +105 -0
  4. cirro_api_client-0.2.3/cirro_api_client/v1/api/compute_environment/update_compute_environment.py +122 -0
  5. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/__init__.py +4 -0
  6. cirro_api_client-0.2.3/cirro_api_client/v1/models/compute_environment_configuration_input.py +112 -0
  7. cirro_api_client-0.2.3/cirro_api_client/v1/models/compute_environment_configuration_input_properties.py +32 -0
  8. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/task.py +16 -0
  9. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/pyproject.toml +1 -1
  10. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/README.md +0 -0
  11. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/__init__.py +0 -0
  12. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/cirro_auth.py +0 -0
  13. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/cirro_client.py +0 -0
  14. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/__init__.py +0 -0
  15. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/__init__.py +0 -0
  16. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/audit/__init__.py +0 -0
  17. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/audit/get_event.py +0 -0
  18. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/audit/list_events.py +0 -0
  19. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/billing/__init__.py +0 -0
  20. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/billing/create_billing_account.py +0 -0
  21. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/billing/delete_billing_account.py +0 -0
  22. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/billing/generate_billing_report.py +0 -0
  23. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/billing/get_billing_accounts.py +0 -0
  24. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/billing/update_billing_account.py +0 -0
  25. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/compute_environment/__init__.py +0 -0
  26. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/compute_environment/create_agent.py +0 -0
  27. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/compute_environment/delete_agent.py +0 -0
  28. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/compute_environment/get_agents.py +0 -0
  29. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/compute_environment/get_compute_environments.py +0 -0
  30. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/compute_environment/update_agent.py +0 -0
  31. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/dashboards/__init__.py +0 -0
  32. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/dashboards/create_dashboard.py +0 -0
  33. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/dashboards/delete_dashboard.py +0 -0
  34. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/dashboards/get_dashboard.py +0 -0
  35. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/dashboards/get_dashboards.py +0 -0
  36. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/dashboards/update_dashboard.py +0 -0
  37. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/datasets/__init__.py +0 -0
  38. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/datasets/delete_dataset.py +0 -0
  39. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/datasets/get_dataset.py +0 -0
  40. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/datasets/get_dataset_manifest.py +0 -0
  41. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/datasets/get_datasets.py +0 -0
  42. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/datasets/import_public_dataset.py +0 -0
  43. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/datasets/ingest_samples.py +0 -0
  44. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/datasets/regenerate_manifest.py +0 -0
  45. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/datasets/rerun_transform.py +0 -0
  46. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/datasets/update_dataset.py +0 -0
  47. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/datasets/upload_dataset.py +0 -0
  48. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/execution/__init__.py +0 -0
  49. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/execution/get_execution_logs.py +0 -0
  50. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/execution/get_project_summary.py +0 -0
  51. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/execution/get_task_logs.py +0 -0
  52. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/execution/get_tasks_for_execution.py +0 -0
  53. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/execution/run_analysis.py +0 -0
  54. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/execution/stop_analysis.py +0 -0
  55. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/file/__init__.py +0 -0
  56. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/file/generate_project_file_access_token.py +0 -0
  57. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/file/generate_project_sftp_token.py +0 -0
  58. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/governance/__init__.py +0 -0
  59. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/governance/create_classification.py +0 -0
  60. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/governance/delete_classification.py +0 -0
  61. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/governance/get_classification.py +0 -0
  62. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/governance/get_classifications.py +0 -0
  63. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/governance/update_classification.py +0 -0
  64. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/metadata/__init__.py +0 -0
  65. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/metadata/get_project_samples.py +0 -0
  66. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/metadata/get_project_schema.py +0 -0
  67. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/metadata/update_project_schema.py +0 -0
  68. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/metadata/update_sample.py +0 -0
  69. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/metrics/__init__.py +0 -0
  70. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/metrics/get_all_metrics.py +0 -0
  71. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/metrics/get_project_metrics.py +0 -0
  72. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/notebooks/__init__.py +0 -0
  73. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/notebooks/create_notebook_instance.py +0 -0
  74. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/notebooks/delete_notebook_instance.py +0 -0
  75. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/notebooks/generate_notebook_instance_url.py +0 -0
  76. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/notebooks/get_notebook_instance_status.py +0 -0
  77. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/notebooks/get_notebook_instances.py +0 -0
  78. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/notebooks/stop_notebook_instance.py +0 -0
  79. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/processes/__init__.py +0 -0
  80. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/processes/archive_custom_process.py +0 -0
  81. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/processes/calculate_pipeline_cost.py +0 -0
  82. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/processes/create_custom_process.py +0 -0
  83. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/processes/get_process.py +0 -0
  84. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/processes/get_process_parameters.py +0 -0
  85. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/processes/get_processes.py +0 -0
  86. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/processes/sync_custom_process.py +0 -0
  87. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/processes/update_custom_process.py +0 -0
  88. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/processes/validate_file_requirements.py +0 -0
  89. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/project_requests/__init__.py +0 -0
  90. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/project_requests/create_project_request.py +0 -0
  91. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/projects/__init__.py +0 -0
  92. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/projects/approve_access_request.py +0 -0
  93. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/projects/archive_project.py +0 -0
  94. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/projects/create_access_request.py +0 -0
  95. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/projects/create_project.py +0 -0
  96. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/projects/deny_access_request.py +0 -0
  97. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/projects/get_access_requests.py +0 -0
  98. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/projects/get_discoverable_projects.py +0 -0
  99. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/projects/get_project.py +0 -0
  100. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/projects/get_project_create_options.py +0 -0
  101. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/projects/get_project_users.py +0 -0
  102. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/projects/get_projects.py +0 -0
  103. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/projects/redeploy_project.py +0 -0
  104. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/projects/set_user_project_role.py +0 -0
  105. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/projects/unarchive_project.py +0 -0
  106. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/projects/update_project.py +0 -0
  107. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/projects/update_project_tags.py +0 -0
  108. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/references/__init__.py +0 -0
  109. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/references/create_project_reference.py +0 -0
  110. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/references/delete_project_reference.py +0 -0
  111. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/references/get_reference_types.py +0 -0
  112. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/references/get_references.py +0 -0
  113. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/references/get_references_for_project.py +0 -0
  114. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/references/refresh_project_references.py +0 -0
  115. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/system/__init__.py +0 -0
  116. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/system/get_service_connections.py +0 -0
  117. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/system/info.py +0 -0
  118. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/users/__init__.py +0 -0
  119. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/users/get_user.py +0 -0
  120. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/users/invite_user.py +0 -0
  121. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/users/list_users.py +0 -0
  122. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/users/sign_out_user.py +0 -0
  123. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/api/users/update_user.py +0 -0
  124. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/client.py +0 -0
  125. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/errors.py +0 -0
  126. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/access_type.py +0 -0
  127. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/agent.py +0 -0
  128. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/agent_detail.py +0 -0
  129. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/agent_detail_environment_configuration.py +0 -0
  130. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/agent_detail_tags.py +0 -0
  131. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/agent_input.py +0 -0
  132. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/agent_input_configuration_options_schema.py +0 -0
  133. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/agent_input_environment_configuration.py +0 -0
  134. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/agent_input_tags.py +0 -0
  135. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/agent_registration.py +0 -0
  136. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/agent_status.py +0 -0
  137. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/agent_tags.py +0 -0
  138. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/allowed_data_type.py +0 -0
  139. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/approve_project_access_request.py +0 -0
  140. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/audit_event.py +0 -0
  141. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/audit_event_changes.py +0 -0
  142. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/audit_event_event_detail.py +0 -0
  143. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/auth_info.py +0 -0
  144. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/aws_credentials.py +0 -0
  145. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/billing_account.py +0 -0
  146. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/billing_account_request.py +0 -0
  147. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/billing_method.py +0 -0
  148. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/budget_period.py +0 -0
  149. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/calculate_pipeline_cost_request.py +0 -0
  150. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/classification_input.py +0 -0
  151. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/cloud_account.py +0 -0
  152. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/cloud_account_type.py +0 -0
  153. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/column_definition.py +0 -0
  154. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/compute_environment_configuration.py +0 -0
  155. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/compute_environment_configuration_properties.py +0 -0
  156. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/contact.py +0 -0
  157. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/create_notebook_instance_request.py +0 -0
  158. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/create_project_access_request.py +0 -0
  159. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/create_reference_request.py +0 -0
  160. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/create_response.py +0 -0
  161. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/custom_pipeline_settings.py +0 -0
  162. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/customer_type.py +0 -0
  163. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/dashboard.py +0 -0
  164. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/dashboard_dashboard_data.py +0 -0
  165. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/dashboard_info.py +0 -0
  166. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/dashboard_request.py +0 -0
  167. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/dashboard_request_dashboard_data.py +0 -0
  168. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/dashboard_request_info.py +0 -0
  169. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/dataset.py +0 -0
  170. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/dataset_assets_manifest.py +0 -0
  171. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/dataset_detail.py +0 -0
  172. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/dataset_detail_info.py +0 -0
  173. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/dataset_detail_params.py +0 -0
  174. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/dataset_viz.py +0 -0
  175. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/environment_type.py +0 -0
  176. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/error_message.py +0 -0
  177. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/executor.py +0 -0
  178. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/feature_flags.py +0 -0
  179. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/file_access_request.py +0 -0
  180. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/file_entry.py +0 -0
  181. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/file_entry_metadata.py +0 -0
  182. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/file_mapping_rule.py +0 -0
  183. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/file_name_pattern.py +0 -0
  184. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/file_requirements.py +0 -0
  185. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/form_schema.py +0 -0
  186. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/form_schema_form.py +0 -0
  187. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/form_schema_ui.py +0 -0
  188. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/generate_sftp_credentials_request.py +0 -0
  189. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/get_execution_logs_response.py +0 -0
  190. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/get_project_summary_response_200.py +0 -0
  191. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/governance_classification.py +0 -0
  192. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/import_data_request.py +0 -0
  193. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/invite_user_request.py +0 -0
  194. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/invite_user_response.py +0 -0
  195. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/list_events_entity_type.py +0 -0
  196. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/log_entry.py +0 -0
  197. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/login_provider.py +0 -0
  198. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/metric_record.py +0 -0
  199. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/metric_record_services.py +0 -0
  200. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/notebook_instance.py +0 -0
  201. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/notebook_instance_status_response.py +0 -0
  202. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/open_notebook_instance_response.py +0 -0
  203. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/paginated_response_dataset_list_dto.py +0 -0
  204. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/paginated_response_sample_dto.py +0 -0
  205. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/paginated_response_user_dto.py +0 -0
  206. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/pipeline_code.py +0 -0
  207. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/pipeline_cost.py +0 -0
  208. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/portal_error_response.py +0 -0
  209. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/process.py +0 -0
  210. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/process_detail.py +0 -0
  211. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/project.py +0 -0
  212. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/project_access_request.py +0 -0
  213. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/project_create_options.py +0 -0
  214. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/project_detail.py +0 -0
  215. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/project_input.py +0 -0
  216. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/project_metrics.py +0 -0
  217. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/project_request.py +0 -0
  218. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/project_role.py +0 -0
  219. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/project_settings.py +0 -0
  220. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/project_user.py +0 -0
  221. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/reference.py +0 -0
  222. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/reference_type.py +0 -0
  223. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/reference_type_validation_item.py +0 -0
  224. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/repository_type.py +0 -0
  225. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/request_status.py +0 -0
  226. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/resources_info.py +0 -0
  227. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/run_analysis_request.py +0 -0
  228. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/run_analysis_request_params.py +0 -0
  229. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/sample.py +0 -0
  230. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/sample_metadata.py +0 -0
  231. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/sample_request.py +0 -0
  232. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/sample_request_metadata.py +0 -0
  233. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/service_connection.py +0 -0
  234. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/set_user_project_role_request.py +0 -0
  235. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/sftp_credentials.py +0 -0
  236. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/status.py +0 -0
  237. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/stop_execution_response.py +0 -0
  238. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/sync_status.py +0 -0
  239. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/system_info_response.py +0 -0
  240. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/table.py +0 -0
  241. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/tag.py +0 -0
  242. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/tenant_info.py +0 -0
  243. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/update_dataset_request.py +0 -0
  244. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/update_user_request.py +0 -0
  245. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/update_user_request_settings.py +0 -0
  246. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/upload_dataset_create_response.py +0 -0
  247. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/upload_dataset_request.py +0 -0
  248. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/user.py +0 -0
  249. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/user_detail.py +0 -0
  250. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/user_project_assignment.py +0 -0
  251. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/models/validate_file_requirements_request.py +0 -0
  252. {cirro_api_client-0.2.2 → cirro_api_client-0.2.3}/cirro_api_client/v1/py.typed +0 -0
  253. {cirro_api_client-0.2.2 → cirro_api_client-0.2.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.2.2
3
+ Version: 0.2.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,186 @@
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 ...models.compute_environment_configuration_input import ComputeEnvironmentConfigurationInput
9
+ from ...models.create_response import CreateResponse
10
+ from ...types import Response
11
+
12
+
13
+ def _get_kwargs(
14
+ project_id: str,
15
+ *,
16
+ body: ComputeEnvironmentConfigurationInput,
17
+ ) -> Dict[str, Any]:
18
+ headers: Dict[str, Any] = {}
19
+
20
+ _kwargs: Dict[str, Any] = {
21
+ "method": "post",
22
+ "url": f"/projects/{project_id}/compute-environments",
23
+ }
24
+
25
+ _body = body.to_dict()
26
+
27
+ _kwargs["json"] = _body
28
+ headers["Content-Type"] = "application/json"
29
+
30
+ _kwargs["headers"] = headers
31
+ return _kwargs
32
+
33
+
34
+ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[CreateResponse]:
35
+ if response.status_code == HTTPStatus.CREATED:
36
+ response_201 = CreateResponse.from_dict(response.json())
37
+
38
+ return response_201
39
+
40
+ errors.handle_error_response(response, client.raise_on_unexpected_status)
41
+
42
+
43
+ def _build_response(*, client: Client, response: httpx.Response) -> Response[CreateResponse]:
44
+ return Response(
45
+ status_code=HTTPStatus(response.status_code),
46
+ content=response.content,
47
+ headers=response.headers,
48
+ parsed=_parse_response(client=client, response=response),
49
+ )
50
+
51
+
52
+ def sync_detailed(
53
+ project_id: str,
54
+ *,
55
+ client: Client,
56
+ body: ComputeEnvironmentConfigurationInput,
57
+ ) -> Response[CreateResponse]:
58
+ """Create compute environment
59
+
60
+ Create a new compute environment for a project
61
+
62
+ Args:
63
+ project_id (str):
64
+ body (ComputeEnvironmentConfigurationInput):
65
+ client (Client): instance of the API client
66
+
67
+ Raises:
68
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
69
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
70
+
71
+ Returns:
72
+ Response[CreateResponse]
73
+ """
74
+
75
+ kwargs = _get_kwargs(
76
+ project_id=project_id,
77
+ body=body,
78
+ )
79
+
80
+ response = client.get_httpx_client().request(
81
+ auth=client.get_auth(),
82
+ **kwargs,
83
+ )
84
+
85
+ return _build_response(client=client, response=response)
86
+
87
+
88
+ def sync(
89
+ project_id: str,
90
+ *,
91
+ client: Client,
92
+ body: ComputeEnvironmentConfigurationInput,
93
+ ) -> Optional[CreateResponse]:
94
+ """Create compute environment
95
+
96
+ Create a new compute environment for a project
97
+
98
+ Args:
99
+ project_id (str):
100
+ body (ComputeEnvironmentConfigurationInput):
101
+ client (Client): instance of the API client
102
+
103
+ Raises:
104
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
105
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
106
+
107
+ Returns:
108
+ CreateResponse
109
+ """
110
+
111
+ try:
112
+ return sync_detailed(
113
+ project_id=project_id,
114
+ client=client,
115
+ body=body,
116
+ ).parsed
117
+ except errors.NotFoundException:
118
+ return None
119
+
120
+
121
+ async def asyncio_detailed(
122
+ project_id: str,
123
+ *,
124
+ client: Client,
125
+ body: ComputeEnvironmentConfigurationInput,
126
+ ) -> Response[CreateResponse]:
127
+ """Create compute environment
128
+
129
+ Create a new compute environment for a project
130
+
131
+ Args:
132
+ project_id (str):
133
+ body (ComputeEnvironmentConfigurationInput):
134
+ client (Client): instance of the API client
135
+
136
+ Raises:
137
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
138
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
139
+
140
+ Returns:
141
+ Response[CreateResponse]
142
+ """
143
+
144
+ kwargs = _get_kwargs(
145
+ project_id=project_id,
146
+ body=body,
147
+ )
148
+
149
+ response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs)
150
+
151
+ return _build_response(client=client, response=response)
152
+
153
+
154
+ async def asyncio(
155
+ project_id: str,
156
+ *,
157
+ client: Client,
158
+ body: ComputeEnvironmentConfigurationInput,
159
+ ) -> Optional[CreateResponse]:
160
+ """Create compute environment
161
+
162
+ Create a new compute environment for a project
163
+
164
+ Args:
165
+ project_id (str):
166
+ body (ComputeEnvironmentConfigurationInput):
167
+ client (Client): instance of the API client
168
+
169
+ Raises:
170
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
171
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
172
+
173
+ Returns:
174
+ CreateResponse
175
+ """
176
+
177
+ try:
178
+ return (
179
+ await asyncio_detailed(
180
+ project_id=project_id,
181
+ client=client,
182
+ body=body,
183
+ )
184
+ ).parsed
185
+ except errors.NotFoundException:
186
+ return None
@@ -0,0 +1,105 @@
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
+ compute_environment_id: str,
14
+ ) -> Dict[str, Any]:
15
+ _kwargs: Dict[str, Any] = {
16
+ "method": "delete",
17
+ "url": f"/projects/{project_id}/compute-environments/{compute_environment_id}",
18
+ }
19
+
20
+ return _kwargs
21
+
22
+
23
+ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Any]:
24
+ if response.status_code == HTTPStatus.OK:
25
+ return None
26
+
27
+ errors.handle_error_response(response, client.raise_on_unexpected_status)
28
+
29
+
30
+ def _build_response(*, client: Client, response: httpx.Response) -> Response[Any]:
31
+ return Response(
32
+ status_code=HTTPStatus(response.status_code),
33
+ content=response.content,
34
+ headers=response.headers,
35
+ parsed=_parse_response(client=client, response=response),
36
+ )
37
+
38
+
39
+ def sync_detailed(
40
+ project_id: str,
41
+ compute_environment_id: str,
42
+ *,
43
+ client: Client,
44
+ ) -> Response[Any]:
45
+ """Delete compute environment
46
+
47
+ Delete a compute environment for a project
48
+
49
+ Args:
50
+ project_id (str):
51
+ compute_environment_id (str):
52
+ client (Client): instance of the API client
53
+
54
+ Raises:
55
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
56
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
57
+
58
+ Returns:
59
+ Response[Any]
60
+ """
61
+
62
+ kwargs = _get_kwargs(
63
+ project_id=project_id,
64
+ compute_environment_id=compute_environment_id,
65
+ )
66
+
67
+ response = client.get_httpx_client().request(
68
+ auth=client.get_auth(),
69
+ **kwargs,
70
+ )
71
+
72
+ return _build_response(client=client, response=response)
73
+
74
+
75
+ async def asyncio_detailed(
76
+ project_id: str,
77
+ compute_environment_id: str,
78
+ *,
79
+ client: Client,
80
+ ) -> Response[Any]:
81
+ """Delete compute environment
82
+
83
+ Delete a compute environment for a project
84
+
85
+ Args:
86
+ project_id (str):
87
+ compute_environment_id (str):
88
+ client (Client): instance of the API client
89
+
90
+ Raises:
91
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
92
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
93
+
94
+ Returns:
95
+ Response[Any]
96
+ """
97
+
98
+ kwargs = _get_kwargs(
99
+ project_id=project_id,
100
+ compute_environment_id=compute_environment_id,
101
+ )
102
+
103
+ response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs)
104
+
105
+ return _build_response(client=client, response=response)
@@ -0,0 +1,122 @@
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 ...models.compute_environment_configuration_input import ComputeEnvironmentConfigurationInput
9
+ from ...types import Response
10
+
11
+
12
+ def _get_kwargs(
13
+ project_id: str,
14
+ compute_environment_id: str,
15
+ *,
16
+ body: ComputeEnvironmentConfigurationInput,
17
+ ) -> Dict[str, Any]:
18
+ headers: Dict[str, Any] = {}
19
+
20
+ _kwargs: Dict[str, Any] = {
21
+ "method": "put",
22
+ "url": f"/projects/{project_id}/compute-environments/{compute_environment_id}",
23
+ }
24
+
25
+ _body = body.to_dict()
26
+
27
+ _kwargs["json"] = _body
28
+ headers["Content-Type"] = "application/json"
29
+
30
+ _kwargs["headers"] = headers
31
+ return _kwargs
32
+
33
+
34
+ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Any]:
35
+ if response.status_code == HTTPStatus.OK:
36
+ return None
37
+
38
+ errors.handle_error_response(response, client.raise_on_unexpected_status)
39
+
40
+
41
+ def _build_response(*, client: Client, response: httpx.Response) -> Response[Any]:
42
+ return Response(
43
+ status_code=HTTPStatus(response.status_code),
44
+ content=response.content,
45
+ headers=response.headers,
46
+ parsed=_parse_response(client=client, response=response),
47
+ )
48
+
49
+
50
+ def sync_detailed(
51
+ project_id: str,
52
+ compute_environment_id: str,
53
+ *,
54
+ client: Client,
55
+ body: ComputeEnvironmentConfigurationInput,
56
+ ) -> Response[Any]:
57
+ """Update compute environment
58
+
59
+ Update a compute environment for a project
60
+
61
+ Args:
62
+ project_id (str):
63
+ compute_environment_id (str):
64
+ body (ComputeEnvironmentConfigurationInput):
65
+ client (Client): instance of the API client
66
+
67
+ Raises:
68
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
69
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
70
+
71
+ Returns:
72
+ Response[Any]
73
+ """
74
+
75
+ kwargs = _get_kwargs(
76
+ project_id=project_id,
77
+ compute_environment_id=compute_environment_id,
78
+ body=body,
79
+ )
80
+
81
+ response = client.get_httpx_client().request(
82
+ auth=client.get_auth(),
83
+ **kwargs,
84
+ )
85
+
86
+ return _build_response(client=client, response=response)
87
+
88
+
89
+ async def asyncio_detailed(
90
+ project_id: str,
91
+ compute_environment_id: str,
92
+ *,
93
+ client: Client,
94
+ body: ComputeEnvironmentConfigurationInput,
95
+ ) -> Response[Any]:
96
+ """Update compute environment
97
+
98
+ Update a compute environment for a project
99
+
100
+ Args:
101
+ project_id (str):
102
+ compute_environment_id (str):
103
+ body (ComputeEnvironmentConfigurationInput):
104
+ client (Client): instance of the API client
105
+
106
+ Raises:
107
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
108
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
109
+
110
+ Returns:
111
+ Response[Any]
112
+ """
113
+
114
+ kwargs = _get_kwargs(
115
+ project_id=project_id,
116
+ compute_environment_id=compute_environment_id,
117
+ body=body,
118
+ )
119
+
120
+ response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs)
121
+
122
+ return _build_response(client=client, response=response)
@@ -29,6 +29,8 @@ from .cloud_account import CloudAccount
29
29
  from .cloud_account_type import CloudAccountType
30
30
  from .column_definition import ColumnDefinition
31
31
  from .compute_environment_configuration import ComputeEnvironmentConfiguration
32
+ from .compute_environment_configuration_input import ComputeEnvironmentConfigurationInput
33
+ from .compute_environment_configuration_input_properties import ComputeEnvironmentConfigurationInputProperties
32
34
  from .compute_environment_configuration_properties import ComputeEnvironmentConfigurationProperties
33
35
  from .contact import Contact
34
36
  from .create_notebook_instance_request import CreateNotebookInstanceRequest
@@ -158,6 +160,8 @@ __all__ = (
158
160
  "CloudAccountType",
159
161
  "ColumnDefinition",
160
162
  "ComputeEnvironmentConfiguration",
163
+ "ComputeEnvironmentConfigurationInput",
164
+ "ComputeEnvironmentConfigurationInputProperties",
161
165
  "ComputeEnvironmentConfigurationProperties",
162
166
  "Contact",
163
167
  "CreateNotebookInstanceRequest",
@@ -0,0 +1,112 @@
1
+ from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union, cast
2
+
3
+ from attrs import define as _attrs_define
4
+ from attrs import field as _attrs_field
5
+
6
+ from ..types import UNSET, Unset
7
+
8
+ if TYPE_CHECKING:
9
+ from ..models.compute_environment_configuration_input_properties import (
10
+ ComputeEnvironmentConfigurationInputProperties,
11
+ )
12
+
13
+
14
+ T = TypeVar("T", bound="ComputeEnvironmentConfigurationInput")
15
+
16
+
17
+ @_attrs_define
18
+ class ComputeEnvironmentConfigurationInput:
19
+ """
20
+ Attributes:
21
+ name (str):
22
+ agent_id (Union[None, Unset, str]):
23
+ properties (Union['ComputeEnvironmentConfigurationInputProperties', None, Unset]):
24
+ """
25
+
26
+ name: str
27
+ agent_id: Union[None, Unset, str] = UNSET
28
+ properties: Union["ComputeEnvironmentConfigurationInputProperties", None, Unset] = UNSET
29
+ additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
30
+
31
+ def to_dict(self) -> Dict[str, Any]:
32
+ from ..models.compute_environment_configuration_input_properties import (
33
+ ComputeEnvironmentConfigurationInputProperties,
34
+ )
35
+
36
+ name = self.name
37
+
38
+ agent_id: Union[None, Unset, str]
39
+ if isinstance(self.agent_id, Unset):
40
+ agent_id = UNSET
41
+ else:
42
+ agent_id = self.agent_id
43
+
44
+ properties: Union[Dict[str, Any], None, Unset]
45
+ if isinstance(self.properties, Unset):
46
+ properties = UNSET
47
+ elif isinstance(self.properties, ComputeEnvironmentConfigurationInputProperties):
48
+ properties = self.properties.to_dict()
49
+ else:
50
+ properties = self.properties
51
+
52
+ field_dict: Dict[str, Any] = {}
53
+ field_dict.update(self.additional_properties)
54
+ field_dict.update(
55
+ {
56
+ "name": name,
57
+ }
58
+ )
59
+ if agent_id is not UNSET:
60
+ field_dict["agentId"] = agent_id
61
+ if properties is not UNSET:
62
+ field_dict["properties"] = properties
63
+
64
+ return field_dict
65
+
66
+ @classmethod
67
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
68
+ from ..models.compute_environment_configuration_input_properties import (
69
+ ComputeEnvironmentConfigurationInputProperties,
70
+ )
71
+
72
+ d = src_dict.copy()
73
+ name = d.pop("name")
74
+
75
+ def _parse_agent_id(data: object) -> Union[None, Unset, str]:
76
+ if data is None:
77
+ return data
78
+ if isinstance(data, Unset):
79
+ return data
80
+ return cast(Union[None, Unset, str], data)
81
+
82
+ agent_id = _parse_agent_id(d.pop("agentId", UNSET))
83
+
84
+ def _parse_properties(data: object) -> Union["ComputeEnvironmentConfigurationInputProperties", None, Unset]:
85
+ if data is None:
86
+ return data
87
+ if isinstance(data, Unset):
88
+ return data
89
+ try:
90
+ if not isinstance(data, dict):
91
+ raise TypeError()
92
+ properties_type_0 = ComputeEnvironmentConfigurationInputProperties.from_dict(data)
93
+
94
+ return properties_type_0
95
+ except: # noqa: E722
96
+ pass
97
+ return cast(Union["ComputeEnvironmentConfigurationInputProperties", None, Unset], data)
98
+
99
+ properties = _parse_properties(d.pop("properties", UNSET))
100
+
101
+ compute_environment_configuration_input = cls(
102
+ name=name,
103
+ agent_id=agent_id,
104
+ properties=properties,
105
+ )
106
+
107
+ compute_environment_configuration_input.additional_properties = d
108
+ return compute_environment_configuration_input
109
+
110
+ @property
111
+ def additional_keys(self) -> List[str]:
112
+ return list(self.additional_properties.keys())
@@ -0,0 +1,32 @@
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="ComputeEnvironmentConfigurationInputProperties")
7
+
8
+
9
+ @_attrs_define
10
+ class ComputeEnvironmentConfigurationInputProperties:
11
+ """ """
12
+
13
+ additional_properties: Dict[str, str] = _attrs_field(init=False, factory=dict)
14
+
15
+ def to_dict(self) -> Dict[str, Any]:
16
+ field_dict: Dict[str, Any] = {}
17
+ field_dict.update(self.additional_properties)
18
+ field_dict.update({})
19
+
20
+ return field_dict
21
+
22
+ @classmethod
23
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
24
+ d = src_dict.copy()
25
+ compute_environment_configuration_input_properties = cls()
26
+
27
+ compute_environment_configuration_input_properties.additional_properties = d
28
+ return compute_environment_configuration_input_properties
29
+
30
+ @property
31
+ def additional_keys(self) -> List[str]:
32
+ return list(self.additional_properties.keys())
@@ -18,6 +18,7 @@ class Task:
18
18
  native_job_id (str):
19
19
  status (str):
20
20
  requested_at (datetime.datetime):
21
+ started_at (Union[Unset, datetime.datetime]):
21
22
  stopped_at (Union[Unset, datetime.datetime]):
22
23
  container_image (Union[Unset, str]):
23
24
  command_line (Union[Unset, str]):
@@ -28,6 +29,7 @@ class Task:
28
29
  native_job_id: str
29
30
  status: str
30
31
  requested_at: datetime.datetime
32
+ started_at: Union[Unset, datetime.datetime] = UNSET
31
33
  stopped_at: Union[Unset, datetime.datetime] = UNSET
32
34
  container_image: Union[Unset, str] = UNSET
33
35
  command_line: Union[Unset, str] = UNSET
@@ -43,6 +45,10 @@ class Task:
43
45
 
44
46
  requested_at = self.requested_at.isoformat()
45
47
 
48
+ started_at: Union[Unset, str] = UNSET
49
+ if not isinstance(self.started_at, Unset):
50
+ started_at = self.started_at.isoformat()
51
+
46
52
  stopped_at: Union[Unset, str] = UNSET
47
53
  if not isinstance(self.stopped_at, Unset):
48
54
  stopped_at = self.stopped_at.isoformat()
@@ -63,6 +69,8 @@ class Task:
63
69
  "requestedAt": requested_at,
64
70
  }
65
71
  )
72
+ if started_at is not UNSET:
73
+ field_dict["startedAt"] = started_at
66
74
  if stopped_at is not UNSET:
67
75
  field_dict["stoppedAt"] = stopped_at
68
76
  if container_image is not UNSET:
@@ -85,6 +93,13 @@ class Task:
85
93
 
86
94
  requested_at = isoparse(d.pop("requestedAt"))
87
95
 
96
+ _started_at = d.pop("startedAt", UNSET)
97
+ started_at: Union[Unset, datetime.datetime]
98
+ if isinstance(_started_at, Unset):
99
+ started_at = UNSET
100
+ else:
101
+ started_at = isoparse(_started_at)
102
+
88
103
  _stopped_at = d.pop("stoppedAt", UNSET)
89
104
  stopped_at: Union[Unset, datetime.datetime]
90
105
  if isinstance(_stopped_at, Unset):
@@ -103,6 +118,7 @@ class Task:
103
118
  native_job_id=native_job_id,
104
119
  status=status,
105
120
  requested_at=requested_at,
121
+ started_at=started_at,
106
122
  stopped_at=stopped_at,
107
123
  container_image=container_image,
108
124
  command_line=command_line,
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "cirro_api_client"
3
- version = "0.2.2"
3
+ version = "0.2.3"
4
4
  description = "A client library for accessing Cirro"
5
5
  authors = ["Cirro <support@cirro.bio>"]
6
6
  license = "MIT"