cirro-api-client 0.2.2__tar.gz → 0.3.0__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.
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/PKG-INFO +2 -3
- cirro_api_client-0.3.0/cirro_api_client/v1/api/compute_environment/create_compute_environment.py +186 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/compute_environment/delete_compute_environment.py +105 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/compute_environment/update_compute_environment.py +122 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/datasets/ingest_samples.py +2 -2
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/datasets/regenerate_manifest.py +2 -2
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/datasets/rerun_transform.py +2 -2
- cirro_api_client-0.3.0/cirro_api_client/v1/api/file/generate_governance_file_access_token.py +186 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/file/generate_project_file_access_token.py +10 -10
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/governance/create_classification.py +1 -1
- cirro_api_client-0.3.0/cirro_api_client/v1/api/governance/create_contact.py +173 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/governance/create_requirement.py +173 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/governance/delete_contact.py +98 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/governance/delete_requirement.py +98 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/governance/fulfill_requirement.py +199 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/governance/get_contact.py +163 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/governance/get_contacts.py +140 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/governance/get_requirement.py +163 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/governance/get_requirements.py +140 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/governance/get_requirements_by_project.py +168 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/governance/update_contact.py +186 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/governance/update_requirement.py +186 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/projects/get_project_create_options.py +2 -2
- cirro_api_client-0.3.0/cirro_api_client/v1/api/sharing/create_share.py +186 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/sharing/delete_share.py +105 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/sharing/get_discoverable_shares.py +168 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/sharing/get_share.py +176 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/sharing/get_shared_datasets.py +212 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/sharing/get_shares.py +168 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/sharing/subscribe_share.py +105 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/sharing/unsubscribe_share.py +105 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/sharing/update_share.py +122 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/tools/__init__.py +0 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/tools/move_dataset.py +177 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/api/users/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/__init__.py +58 -4
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/classification_input.py +9 -1
- cirro_api_client-0.3.0/cirro_api_client/v1/models/compute_environment_configuration_input.py +112 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/compute_environment_configuration_input_properties.py +32 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/contact_input.py +78 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/create_notebook_instance_request.py +12 -1
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/custom_pipeline_settings.py +31 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/dataset_condition.py +56 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/dataset_condition_field.py +17 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/dataset_detail.py +60 -1
- cirro_api_client-0.3.0/cirro_api_client/v1/models/fulfillment_response.py +54 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/governance_access_type.py +17 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/governance_classification.py +9 -1
- cirro_api_client-0.3.0/cirro_api_client/v1/models/governance_contact.py +112 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/governance_expiry.py +106 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/governance_expiry_type.py +17 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/governance_file.py +81 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/governance_file_access_request.py +109 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/governance_file_type.py +15 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/governance_requirement.py +334 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/governance_scope.py +15 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/governance_training_verification.py +15 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/governance_type.py +16 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/move_dataset_input.py +62 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/move_dataset_response.py +62 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/named_item.py +54 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/notebook_instance.py +8 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/process_detail.py +9 -0
- cirro_api_client-0.2.2/cirro_api_client/v1/models/access_type.py → cirro_api_client-0.3.0/cirro_api_client/v1/models/project_access_type.py +2 -1
- cirro_api_client-0.2.2/cirro_api_client/v1/models/file_access_request.py → cirro_api_client-0.3.0/cirro_api_client/v1/models/project_file_access_request.py +9 -9
- cirro_api_client-0.3.0/cirro_api_client/v1/models/project_requirement.py +479 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/project_settings.py +30 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/requirement_fulfillment_input.py +58 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/requirement_input.py +292 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/share.py +144 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/share_detail.py +178 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/share_input.py +118 -0
- cirro_api_client-0.3.0/cirro_api_client/v1/models/share_type.py +16 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/task.py +16 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/upload_dataset_create_response.py +8 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/types.py +2 -1
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/pyproject.toml +1 -1
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/README.md +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/cirro_auth.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/cirro_client.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/audit/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/audit/get_event.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/audit/list_events.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/billing/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/billing/create_billing_account.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/billing/delete_billing_account.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/billing/generate_billing_report.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/billing/get_billing_accounts.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/billing/update_billing_account.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/compute_environment/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/compute_environment/create_agent.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/compute_environment/delete_agent.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/compute_environment/get_agents.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/compute_environment/get_compute_environments.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/compute_environment/update_agent.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/dashboards/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/dashboards/create_dashboard.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/dashboards/delete_dashboard.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/dashboards/get_dashboard.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/dashboards/get_dashboards.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/dashboards/update_dashboard.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/datasets/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/datasets/delete_dataset.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/datasets/get_dataset.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/datasets/get_dataset_manifest.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/datasets/get_datasets.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/datasets/import_public_dataset.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/datasets/update_dataset.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/datasets/upload_dataset.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/execution/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/execution/get_execution_logs.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/execution/get_project_summary.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/execution/get_task_logs.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/execution/get_tasks_for_execution.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/execution/run_analysis.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/execution/stop_analysis.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/file/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/file/generate_project_sftp_token.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/governance/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/governance/delete_classification.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/governance/get_classification.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/governance/get_classifications.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/governance/update_classification.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/metadata/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/metadata/get_project_samples.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/metadata/get_project_schema.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/metadata/update_project_schema.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/metadata/update_sample.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/metrics/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/metrics/get_all_metrics.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/metrics/get_project_metrics.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/notebooks/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/notebooks/create_notebook_instance.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/notebooks/delete_notebook_instance.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/notebooks/generate_notebook_instance_url.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/notebooks/get_notebook_instance_status.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/notebooks/get_notebook_instances.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/notebooks/stop_notebook_instance.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/processes/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/processes/archive_custom_process.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/processes/calculate_pipeline_cost.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/processes/create_custom_process.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/processes/get_process.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/processes/get_process_parameters.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/processes/get_processes.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/processes/sync_custom_process.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/processes/update_custom_process.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/processes/validate_file_requirements.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/project_requests/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/project_requests/create_project_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/projects/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/projects/approve_access_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/projects/archive_project.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/projects/create_access_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/projects/create_project.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/projects/deny_access_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/projects/get_access_requests.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/projects/get_discoverable_projects.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/projects/get_project.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/projects/get_project_users.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/projects/get_projects.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/projects/redeploy_project.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/projects/set_user_project_role.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/projects/unarchive_project.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/projects/update_project.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/projects/update_project_tags.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/references/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/references/create_project_reference.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/references/delete_project_reference.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/references/get_reference_types.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/references/get_references.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/references/get_references_for_project.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/references/refresh_project_references.py +0 -0
- {cirro_api_client-0.2.2/cirro_api_client/v1/api/system → cirro_api_client-0.3.0/cirro_api_client/v1/api/sharing}/__init__.py +0 -0
- {cirro_api_client-0.2.2/cirro_api_client/v1/api/users → cirro_api_client-0.3.0/cirro_api_client/v1/api/system}/__init__.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/system/get_service_connections.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/system/info.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/users/get_user.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/users/invite_user.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/users/list_users.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/users/sign_out_user.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/users/update_user.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/client.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/errors.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/agent.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/agent_detail.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/agent_detail_environment_configuration.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/agent_detail_tags.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/agent_input.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/agent_input_configuration_options_schema.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/agent_input_environment_configuration.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/agent_input_tags.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/agent_registration.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/agent_status.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/agent_tags.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/allowed_data_type.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/approve_project_access_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/audit_event.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/audit_event_changes.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/audit_event_event_detail.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/auth_info.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/aws_credentials.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/billing_account.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/billing_account_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/billing_method.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/budget_period.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/calculate_pipeline_cost_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/cloud_account.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/cloud_account_type.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/column_definition.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/compute_environment_configuration.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/compute_environment_configuration_properties.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/contact.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/create_project_access_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/create_reference_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/create_response.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/customer_type.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/dashboard.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/dashboard_dashboard_data.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/dashboard_info.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/dashboard_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/dashboard_request_dashboard_data.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/dashboard_request_info.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/dataset.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/dataset_assets_manifest.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/dataset_detail_info.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/dataset_detail_params.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/dataset_viz.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/environment_type.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/error_message.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/executor.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/feature_flags.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/file_entry.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/file_entry_metadata.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/file_mapping_rule.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/file_name_pattern.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/file_requirements.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/form_schema.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/form_schema_form.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/form_schema_ui.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/generate_sftp_credentials_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/get_execution_logs_response.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/get_project_summary_response_200.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/import_data_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/invite_user_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/invite_user_response.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/list_events_entity_type.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/log_entry.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/login_provider.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/metric_record.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/metric_record_services.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/notebook_instance_status_response.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/open_notebook_instance_response.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/paginated_response_dataset_list_dto.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/paginated_response_sample_dto.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/paginated_response_user_dto.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/pipeline_code.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/pipeline_cost.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/portal_error_response.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/process.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/project.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/project_access_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/project_create_options.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/project_detail.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/project_input.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/project_metrics.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/project_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/project_role.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/project_user.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/reference.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/reference_type.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/reference_type_validation_item.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/repository_type.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/request_status.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/resources_info.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/run_analysis_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/run_analysis_request_params.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/sample.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/sample_metadata.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/sample_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/sample_request_metadata.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/service_connection.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/set_user_project_role_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/sftp_credentials.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/status.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/stop_execution_response.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/sync_status.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/system_info_response.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/table.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/tag.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/tenant_info.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/update_dataset_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/update_user_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/update_user_request_settings.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/upload_dataset_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/user.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/user_detail.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/user_project_assignment.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/models/validate_file_requirements_request.py +0 -0
- {cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/py.typed +0 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: cirro_api_client
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: A client library for accessing Cirro
|
|
5
|
-
Home-page: https://github.com/CirroBio/Cirro-client-python
|
|
6
5
|
License: MIT
|
|
7
6
|
Keywords: Cirro
|
|
8
7
|
Author: Cirro
|
cirro_api_client-0.3.0/cirro_api_client/v1/api/compute_environment/create_compute_environment.py
ADDED
|
@@ -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
|
cirro_api_client-0.3.0/cirro_api_client/v1/api/compute_environment/delete_compute_environment.py
ADDED
|
@@ -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)
|
cirro_api_client-0.3.0/cirro_api_client/v1/api/compute_environment/update_compute_environment.py
ADDED
|
@@ -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)
|
{cirro_api_client-0.2.2 → cirro_api_client-0.3.0}/cirro_api_client/v1/api/datasets/ingest_samples.py
RENAMED
|
@@ -44,7 +44,7 @@ def sync_detailed(
|
|
|
44
44
|
) -> Response[Any]:
|
|
45
45
|
"""Rerun sample ingest
|
|
46
46
|
|
|
47
|
-
Rerun sample ingest
|
|
47
|
+
Rerun sample ingest.
|
|
48
48
|
|
|
49
49
|
Args:
|
|
50
50
|
project_id (str):
|
|
@@ -80,7 +80,7 @@ async def asyncio_detailed(
|
|
|
80
80
|
) -> Response[Any]:
|
|
81
81
|
"""Rerun sample ingest
|
|
82
82
|
|
|
83
|
-
Rerun sample ingest
|
|
83
|
+
Rerun sample ingest.
|
|
84
84
|
|
|
85
85
|
Args:
|
|
86
86
|
project_id (str):
|
|
@@ -44,7 +44,7 @@ def sync_detailed(
|
|
|
44
44
|
) -> Response[Any]:
|
|
45
45
|
"""Regenerate dataset manifest
|
|
46
46
|
|
|
47
|
-
Regenerate dataset
|
|
47
|
+
Regenerate dataset file listing.
|
|
48
48
|
|
|
49
49
|
Args:
|
|
50
50
|
project_id (str):
|
|
@@ -80,7 +80,7 @@ async def asyncio_detailed(
|
|
|
80
80
|
) -> Response[Any]:
|
|
81
81
|
"""Regenerate dataset manifest
|
|
82
82
|
|
|
83
|
-
Regenerate dataset
|
|
83
|
+
Regenerate dataset file listing.
|
|
84
84
|
|
|
85
85
|
Args:
|
|
86
86
|
project_id (str):
|
|
@@ -44,7 +44,7 @@ def sync_detailed(
|
|
|
44
44
|
) -> Response[Any]:
|
|
45
45
|
"""Rerun data transforms
|
|
46
46
|
|
|
47
|
-
Rerun data transforms
|
|
47
|
+
Rerun data transforms and web optimization.
|
|
48
48
|
|
|
49
49
|
Args:
|
|
50
50
|
project_id (str):
|
|
@@ -80,7 +80,7 @@ async def asyncio_detailed(
|
|
|
80
80
|
) -> Response[Any]:
|
|
81
81
|
"""Rerun data transforms
|
|
82
82
|
|
|
83
|
-
Rerun data transforms
|
|
83
|
+
Rerun data transforms and web optimization.
|
|
84
84
|
|
|
85
85
|
Args:
|
|
86
86
|
project_id (str):
|
|
@@ -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.aws_credentials import AWSCredentials
|
|
9
|
+
from ...models.governance_file_access_request import GovernanceFileAccessRequest
|
|
10
|
+
from ...types import Response
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _get_kwargs(
|
|
14
|
+
requirement_id: str,
|
|
15
|
+
*,
|
|
16
|
+
body: GovernanceFileAccessRequest,
|
|
17
|
+
) -> Dict[str, Any]:
|
|
18
|
+
headers: Dict[str, Any] = {}
|
|
19
|
+
|
|
20
|
+
_kwargs: Dict[str, Any] = {
|
|
21
|
+
"method": "post",
|
|
22
|
+
"url": f"/governance/requirements/{requirement_id}/s3-token",
|
|
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[AWSCredentials]:
|
|
35
|
+
if response.status_code == HTTPStatus.OK:
|
|
36
|
+
response_200 = AWSCredentials.from_dict(response.json())
|
|
37
|
+
|
|
38
|
+
return response_200
|
|
39
|
+
|
|
40
|
+
errors.handle_error_response(response, client.raise_on_unexpected_status)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def _build_response(*, client: Client, response: httpx.Response) -> Response[AWSCredentials]:
|
|
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
|
+
requirement_id: str,
|
|
54
|
+
*,
|
|
55
|
+
client: Client,
|
|
56
|
+
body: GovernanceFileAccessRequest,
|
|
57
|
+
) -> Response[AWSCredentials]:
|
|
58
|
+
"""Create governance file access token
|
|
59
|
+
|
|
60
|
+
Generates credentials used for connecting via S3
|
|
61
|
+
|
|
62
|
+
Args:
|
|
63
|
+
requirement_id (str):
|
|
64
|
+
body (GovernanceFileAccessRequest):
|
|
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[AWSCredentials]
|
|
73
|
+
"""
|
|
74
|
+
|
|
75
|
+
kwargs = _get_kwargs(
|
|
76
|
+
requirement_id=requirement_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
|
+
requirement_id: str,
|
|
90
|
+
*,
|
|
91
|
+
client: Client,
|
|
92
|
+
body: GovernanceFileAccessRequest,
|
|
93
|
+
) -> Optional[AWSCredentials]:
|
|
94
|
+
"""Create governance file access token
|
|
95
|
+
|
|
96
|
+
Generates credentials used for connecting via S3
|
|
97
|
+
|
|
98
|
+
Args:
|
|
99
|
+
requirement_id (str):
|
|
100
|
+
body (GovernanceFileAccessRequest):
|
|
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
|
+
AWSCredentials
|
|
109
|
+
"""
|
|
110
|
+
|
|
111
|
+
try:
|
|
112
|
+
return sync_detailed(
|
|
113
|
+
requirement_id=requirement_id,
|
|
114
|
+
client=client,
|
|
115
|
+
body=body,
|
|
116
|
+
).parsed
|
|
117
|
+
except errors.NotFoundException:
|
|
118
|
+
return None
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
async def asyncio_detailed(
|
|
122
|
+
requirement_id: str,
|
|
123
|
+
*,
|
|
124
|
+
client: Client,
|
|
125
|
+
body: GovernanceFileAccessRequest,
|
|
126
|
+
) -> Response[AWSCredentials]:
|
|
127
|
+
"""Create governance file access token
|
|
128
|
+
|
|
129
|
+
Generates credentials used for connecting via S3
|
|
130
|
+
|
|
131
|
+
Args:
|
|
132
|
+
requirement_id (str):
|
|
133
|
+
body (GovernanceFileAccessRequest):
|
|
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[AWSCredentials]
|
|
142
|
+
"""
|
|
143
|
+
|
|
144
|
+
kwargs = _get_kwargs(
|
|
145
|
+
requirement_id=requirement_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
|
+
requirement_id: str,
|
|
156
|
+
*,
|
|
157
|
+
client: Client,
|
|
158
|
+
body: GovernanceFileAccessRequest,
|
|
159
|
+
) -> Optional[AWSCredentials]:
|
|
160
|
+
"""Create governance file access token
|
|
161
|
+
|
|
162
|
+
Generates credentials used for connecting via S3
|
|
163
|
+
|
|
164
|
+
Args:
|
|
165
|
+
requirement_id (str):
|
|
166
|
+
body (GovernanceFileAccessRequest):
|
|
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
|
+
AWSCredentials
|
|
175
|
+
"""
|
|
176
|
+
|
|
177
|
+
try:
|
|
178
|
+
return (
|
|
179
|
+
await asyncio_detailed(
|
|
180
|
+
requirement_id=requirement_id,
|
|
181
|
+
client=client,
|
|
182
|
+
body=body,
|
|
183
|
+
)
|
|
184
|
+
).parsed
|
|
185
|
+
except errors.NotFoundException:
|
|
186
|
+
return None
|