cirro-api-client 0.1.2__tar.gz → 0.1.4__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.1.2 → cirro_api_client-0.1.4}/PKG-INFO +2 -1
- cirro_api_client-0.1.4/cirro_api_client/v1/api/compute_environment/get_compute_environments.py +168 -0
- cirro_api_client-0.1.4/cirro_api_client/v1/api/projects/archive_project.py +98 -0
- cirro_api_client-0.1.4/cirro_api_client/v1/api/projects/get_project_create_options.py +135 -0
- cirro_api_client-0.1.4/cirro_api_client/v1/api/projects/unarchive_project.py +98 -0
- cirro_api_client-0.1.4/cirro_api_client/v1/api/users/__init__.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/__init__.py +16 -0
- cirro_api_client-0.1.4/cirro_api_client/v1/models/agent.py +90 -0
- cirro_api_client-0.1.4/cirro_api_client/v1/models/agent_status.py +15 -0
- cirro_api_client-0.1.4/cirro_api_client/v1/models/agent_tags.py +32 -0
- cirro_api_client-0.1.4/cirro_api_client/v1/models/compute_environment_configuration.py +150 -0
- cirro_api_client-0.1.4/cirro_api_client/v1/models/compute_environment_configuration_properties.py +32 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/custom_pipeline_settings.py +9 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/dataset_viz.py +2 -2
- cirro_api_client-0.1.4/cirro_api_client/v1/models/environment_type.py +17 -0
- cirro_api_client-0.1.4/cirro_api_client/v1/models/feature_flags.py +62 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/process.py +16 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/process_detail.py +18 -0
- cirro_api_client-0.1.4/cirro_api_client/v1/models/project_create_options.py +88 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/project_detail.py +36 -1
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/project_role.py +1 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/project_settings.py +12 -3
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/run_analysis_request.py +21 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/system_info_response.py +8 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/tenant_info.py +10 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/pyproject.toml +1 -1
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/README.md +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/__init__.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/cirro_auth.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/cirro_client.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/__init__.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/__init__.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/audit/__init__.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/audit/get_event.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/audit/list_events.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/billing/__init__.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/billing/create_billing_account.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/billing/delete_billing_account.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/billing/generate_billing_report.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/billing/get_billing_accounts.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/billing/update_billing_account.py +0 -0
- {cirro_api_client-0.1.2/cirro_api_client/v1/api/dashboards → cirro_api_client-0.1.4/cirro_api_client/v1/api/compute_environment}/__init__.py +0 -0
- {cirro_api_client-0.1.2/cirro_api_client/v1/api/datasets → cirro_api_client-0.1.4/cirro_api_client/v1/api/dashboards}/__init__.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/dashboards/create_dashboard.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/dashboards/delete_dashboard.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/dashboards/get_dashboard.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/dashboards/get_dashboards.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/dashboards/update_dashboard.py +0 -0
- {cirro_api_client-0.1.2/cirro_api_client/v1/api/execution → cirro_api_client-0.1.4/cirro_api_client/v1/api/datasets}/__init__.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/datasets/delete_dataset.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/datasets/get_dataset.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/datasets/get_dataset_manifest.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/datasets/get_datasets.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/datasets/import_public_dataset.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/datasets/ingest_samples.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/datasets/regenerate_manifest.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/datasets/rerun_transform.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/datasets/update_dataset.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/datasets/upload_dataset.py +0 -0
- {cirro_api_client-0.1.2/cirro_api_client/v1/api/file → cirro_api_client-0.1.4/cirro_api_client/v1/api/execution}/__init__.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/execution/get_execution_logs.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/execution/get_project_summary.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/execution/get_task_logs.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/execution/get_tasks_for_execution.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/execution/run_analysis.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/execution/stop_analysis.py +0 -0
- {cirro_api_client-0.1.2/cirro_api_client/v1/api/metadata → cirro_api_client-0.1.4/cirro_api_client/v1/api/file}/__init__.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/file/generate_project_file_access_token.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/file/generate_project_sftp_token.py +0 -0
- {cirro_api_client-0.1.2/cirro_api_client/v1/api/metrics → cirro_api_client-0.1.4/cirro_api_client/v1/api/metadata}/__init__.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/metadata/get_project_samples.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/metadata/get_project_schema.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/metadata/update_project_schema.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/metadata/update_sample.py +0 -0
- {cirro_api_client-0.1.2/cirro_api_client/v1/api/notebooks → cirro_api_client-0.1.4/cirro_api_client/v1/api/metrics}/__init__.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/metrics/get_all_metrics.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/metrics/get_project_metrics.py +0 -0
- {cirro_api_client-0.1.2/cirro_api_client/v1/api/processes → cirro_api_client-0.1.4/cirro_api_client/v1/api/notebooks}/__init__.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/notebooks/create_notebook_instance.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/notebooks/delete_notebook_instance.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/notebooks/generate_notebook_instance_url.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/notebooks/get_notebook_instance_status.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/notebooks/get_notebook_instances.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/notebooks/stop_notebook_instance.py +0 -0
- {cirro_api_client-0.1.2/cirro_api_client/v1/api/projects → cirro_api_client-0.1.4/cirro_api_client/v1/api/processes}/__init__.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/processes/archive_custom_process.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/processes/calculate_pipeline_cost.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/processes/create_custom_process.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/processes/get_process.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/processes/get_process_parameters.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/processes/get_processes.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/processes/sync_custom_process.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/processes/update_custom_process.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/processes/validate_file_requirements.py +0 -0
- {cirro_api_client-0.1.2/cirro_api_client/v1/api/references → cirro_api_client-0.1.4/cirro_api_client/v1/api/projects}/__init__.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/projects/approve_access_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/projects/create_access_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/projects/create_project.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/projects/deny_access_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/projects/get_access_requests.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/projects/get_discoverable_projects.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/projects/get_project.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/projects/get_project_users.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/projects/get_projects.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/projects/redeploy_project.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/projects/set_user_project_role.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/projects/update_project.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/projects/update_project_tags.py +0 -0
- {cirro_api_client-0.1.2/cirro_api_client/v1/api/system → cirro_api_client-0.1.4/cirro_api_client/v1/api/references}/__init__.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/references/create_project_reference.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/references/delete_project_reference.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/references/get_reference_types.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/references/get_references.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/references/get_references_for_project.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/references/refresh_project_references.py +0 -0
- {cirro_api_client-0.1.2/cirro_api_client/v1/api/users → cirro_api_client-0.1.4/cirro_api_client/v1/api/system}/__init__.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/system/get_service_connections.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/system/info.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/users/get_user.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/users/get_users.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/users/invite_user.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/users/sign_out_user.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/api/users/update_user.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/client.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/errors.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/access_type.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/allowed_data_type.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/approve_project_access_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/audit_event.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/audit_event_changes.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/audit_event_event_detail.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/auth_info.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/aws_credentials.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/billing_account.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/billing_account_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/billing_method.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/budget_period.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/calculate_pipeline_cost_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/cloud_account.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/cloud_account_type.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/column_definition.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/contact.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/create_notebook_instance_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/create_project_access_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/create_reference_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/create_response.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/customer_type.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/dashboard.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/dashboard_dashboard_data.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/dashboard_info.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/dashboard_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/dashboard_request_dashboard_data.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/dashboard_request_info.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/dataset.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/dataset_assets_manifest.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/dataset_detail.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/dataset_detail_info.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/dataset_detail_params.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/error_message.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/executor.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/file_access_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/file_entry.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/file_entry_metadata.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/file_mapping_rule.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/file_name_pattern.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/file_requirements.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/form_schema.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/form_schema_form.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/form_schema_ui.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/generate_sftp_credentials_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/get_execution_logs_response.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/get_project_summary_response_200.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/import_data_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/invite_user_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/invite_user_response.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/log_entry.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/login_provider.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/metric_record.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/metric_record_services.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/notebook_instance.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/notebook_instance_status_response.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/open_notebook_instance_response.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/paginated_response_dataset_list_dto.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/paginated_response_sample_dto.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/pipeline_code.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/pipeline_cost.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/portal_error_response.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/project.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/project_access_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/project_metrics.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/project_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/project_user.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/reference.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/reference_type.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/reference_type_validation_item.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/repository_type.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/request_status.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/resources_info.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/run_analysis_request_params.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/sample.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/sample_metadata.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/sample_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/sample_request_metadata.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/service_connection.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/set_user_project_role_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/sftp_credentials.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/status.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/stop_execution_response.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/sync_status.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/table.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/tag.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/task.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/update_dataset_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/update_user_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/update_user_request_settings.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/upload_dataset_create_response.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/upload_dataset_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/user.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/user_detail.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/user_project_assignment.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/models/validate_file_requirements_request.py +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/py.typed +0 -0
- {cirro_api_client-0.1.2 → cirro_api_client-0.1.4}/cirro_api_client/v1/types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cirro_api_client
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: A client library for accessing Cirro
|
|
5
5
|
Home-page: https://github.com/CirroBio/Cirro-client-python
|
|
6
6
|
License: MIT
|
|
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
19
|
Requires-Dist: attrs (>=21.3.0)
|
|
19
20
|
Requires-Dist: httpx (>=0.20.0,<0.27.0)
|
|
20
21
|
Requires-Dist: python-dateutil (>=2.8.0,<3.0.0)
|
cirro_api_client-0.1.4/cirro_api_client/v1/api/compute_environment/get_compute_environments.py
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Dict, List, Optional
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import Client
|
|
8
|
+
from ...models.compute_environment_configuration import ComputeEnvironmentConfiguration
|
|
9
|
+
from ...types import Response
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def _get_kwargs(
|
|
13
|
+
project_id: str,
|
|
14
|
+
) -> Dict[str, Any]:
|
|
15
|
+
_kwargs: Dict[str, Any] = {
|
|
16
|
+
"method": "get",
|
|
17
|
+
"url": f"/projects/{project_id}/compute-environments",
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
return _kwargs
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def _parse_response(*, client: Client, response: httpx.Response) -> Optional[List["ComputeEnvironmentConfiguration"]]:
|
|
24
|
+
if response.status_code == HTTPStatus.OK:
|
|
25
|
+
response_200 = []
|
|
26
|
+
_response_200 = response.json()
|
|
27
|
+
for response_200_item_data in _response_200:
|
|
28
|
+
response_200_item = ComputeEnvironmentConfiguration.from_dict(response_200_item_data)
|
|
29
|
+
|
|
30
|
+
response_200.append(response_200_item)
|
|
31
|
+
|
|
32
|
+
return response_200
|
|
33
|
+
|
|
34
|
+
errors.handle_error_response(response, client.raise_on_unexpected_status)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def _build_response(*, client: Client, response: httpx.Response) -> Response[List["ComputeEnvironmentConfiguration"]]:
|
|
38
|
+
return Response(
|
|
39
|
+
status_code=HTTPStatus(response.status_code),
|
|
40
|
+
content=response.content,
|
|
41
|
+
headers=response.headers,
|
|
42
|
+
parsed=_parse_response(client=client, response=response),
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def sync_detailed(
|
|
47
|
+
project_id: str,
|
|
48
|
+
*,
|
|
49
|
+
client: Client,
|
|
50
|
+
) -> Response[List["ComputeEnvironmentConfiguration"]]:
|
|
51
|
+
"""Get compute environments
|
|
52
|
+
|
|
53
|
+
Get a list of compute environments for a project
|
|
54
|
+
|
|
55
|
+
Args:
|
|
56
|
+
project_id (str):
|
|
57
|
+
client (Client): instance of the API client
|
|
58
|
+
|
|
59
|
+
Raises:
|
|
60
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
61
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
62
|
+
|
|
63
|
+
Returns:
|
|
64
|
+
Response[List['ComputeEnvironmentConfiguration']]
|
|
65
|
+
"""
|
|
66
|
+
|
|
67
|
+
kwargs = _get_kwargs(
|
|
68
|
+
project_id=project_id,
|
|
69
|
+
)
|
|
70
|
+
|
|
71
|
+
response = client.get_httpx_client().request(
|
|
72
|
+
auth=client.get_auth(),
|
|
73
|
+
**kwargs,
|
|
74
|
+
)
|
|
75
|
+
|
|
76
|
+
return _build_response(client=client, response=response)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
def sync(
|
|
80
|
+
project_id: str,
|
|
81
|
+
*,
|
|
82
|
+
client: Client,
|
|
83
|
+
) -> Optional[List["ComputeEnvironmentConfiguration"]]:
|
|
84
|
+
"""Get compute environments
|
|
85
|
+
|
|
86
|
+
Get a list of compute environments for a project
|
|
87
|
+
|
|
88
|
+
Args:
|
|
89
|
+
project_id (str):
|
|
90
|
+
client (Client): instance of the API client
|
|
91
|
+
|
|
92
|
+
Raises:
|
|
93
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
94
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
95
|
+
|
|
96
|
+
Returns:
|
|
97
|
+
List['ComputeEnvironmentConfiguration']
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
try:
|
|
101
|
+
return sync_detailed(
|
|
102
|
+
project_id=project_id,
|
|
103
|
+
client=client,
|
|
104
|
+
).parsed
|
|
105
|
+
except errors.NotFoundException:
|
|
106
|
+
return None
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
async def asyncio_detailed(
|
|
110
|
+
project_id: str,
|
|
111
|
+
*,
|
|
112
|
+
client: Client,
|
|
113
|
+
) -> Response[List["ComputeEnvironmentConfiguration"]]:
|
|
114
|
+
"""Get compute environments
|
|
115
|
+
|
|
116
|
+
Get a list of compute environments for a project
|
|
117
|
+
|
|
118
|
+
Args:
|
|
119
|
+
project_id (str):
|
|
120
|
+
client (Client): instance of the API client
|
|
121
|
+
|
|
122
|
+
Raises:
|
|
123
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
124
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
125
|
+
|
|
126
|
+
Returns:
|
|
127
|
+
Response[List['ComputeEnvironmentConfiguration']]
|
|
128
|
+
"""
|
|
129
|
+
|
|
130
|
+
kwargs = _get_kwargs(
|
|
131
|
+
project_id=project_id,
|
|
132
|
+
)
|
|
133
|
+
|
|
134
|
+
response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs)
|
|
135
|
+
|
|
136
|
+
return _build_response(client=client, response=response)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
async def asyncio(
|
|
140
|
+
project_id: str,
|
|
141
|
+
*,
|
|
142
|
+
client: Client,
|
|
143
|
+
) -> Optional[List["ComputeEnvironmentConfiguration"]]:
|
|
144
|
+
"""Get compute environments
|
|
145
|
+
|
|
146
|
+
Get a list of compute environments for a project
|
|
147
|
+
|
|
148
|
+
Args:
|
|
149
|
+
project_id (str):
|
|
150
|
+
client (Client): instance of the API client
|
|
151
|
+
|
|
152
|
+
Raises:
|
|
153
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
154
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
155
|
+
|
|
156
|
+
Returns:
|
|
157
|
+
List['ComputeEnvironmentConfiguration']
|
|
158
|
+
"""
|
|
159
|
+
|
|
160
|
+
try:
|
|
161
|
+
return (
|
|
162
|
+
await asyncio_detailed(
|
|
163
|
+
project_id=project_id,
|
|
164
|
+
client=client,
|
|
165
|
+
)
|
|
166
|
+
).parsed
|
|
167
|
+
except errors.NotFoundException:
|
|
168
|
+
return None
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Dict, Optional
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import Client
|
|
8
|
+
from ...types import Response
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def _get_kwargs(
|
|
12
|
+
project_id: str,
|
|
13
|
+
) -> Dict[str, Any]:
|
|
14
|
+
_kwargs: Dict[str, Any] = {
|
|
15
|
+
"method": "put",
|
|
16
|
+
"url": f"/projects/{project_id}:archive",
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
return _kwargs
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Any]:
|
|
23
|
+
if response.status_code == HTTPStatus.OK:
|
|
24
|
+
return None
|
|
25
|
+
|
|
26
|
+
errors.handle_error_response(response, client.raise_on_unexpected_status)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def _build_response(*, client: Client, response: httpx.Response) -> Response[Any]:
|
|
30
|
+
return Response(
|
|
31
|
+
status_code=HTTPStatus(response.status_code),
|
|
32
|
+
content=response.content,
|
|
33
|
+
headers=response.headers,
|
|
34
|
+
parsed=_parse_response(client=client, response=response),
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def sync_detailed(
|
|
39
|
+
project_id: str,
|
|
40
|
+
*,
|
|
41
|
+
client: Client,
|
|
42
|
+
) -> Response[Any]:
|
|
43
|
+
"""Archive project
|
|
44
|
+
|
|
45
|
+
Sets the project status to archived
|
|
46
|
+
|
|
47
|
+
Args:
|
|
48
|
+
project_id (str):
|
|
49
|
+
client (Client): instance of the API client
|
|
50
|
+
|
|
51
|
+
Raises:
|
|
52
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
53
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
54
|
+
|
|
55
|
+
Returns:
|
|
56
|
+
Response[Any]
|
|
57
|
+
"""
|
|
58
|
+
|
|
59
|
+
kwargs = _get_kwargs(
|
|
60
|
+
project_id=project_id,
|
|
61
|
+
)
|
|
62
|
+
|
|
63
|
+
response = client.get_httpx_client().request(
|
|
64
|
+
auth=client.get_auth(),
|
|
65
|
+
**kwargs,
|
|
66
|
+
)
|
|
67
|
+
|
|
68
|
+
return _build_response(client=client, response=response)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
async def asyncio_detailed(
|
|
72
|
+
project_id: str,
|
|
73
|
+
*,
|
|
74
|
+
client: Client,
|
|
75
|
+
) -> Response[Any]:
|
|
76
|
+
"""Archive project
|
|
77
|
+
|
|
78
|
+
Sets the project status to archived
|
|
79
|
+
|
|
80
|
+
Args:
|
|
81
|
+
project_id (str):
|
|
82
|
+
client (Client): instance of the API client
|
|
83
|
+
|
|
84
|
+
Raises:
|
|
85
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
86
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
87
|
+
|
|
88
|
+
Returns:
|
|
89
|
+
Response[Any]
|
|
90
|
+
"""
|
|
91
|
+
|
|
92
|
+
kwargs = _get_kwargs(
|
|
93
|
+
project_id=project_id,
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs)
|
|
97
|
+
|
|
98
|
+
return _build_response(client=client, response=response)
|
|
@@ -0,0 +1,135 @@
|
|
|
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.project_create_options import ProjectCreateOptions
|
|
9
|
+
from ...types import Response
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def _get_kwargs() -> Dict[str, Any]:
|
|
13
|
+
_kwargs: Dict[str, Any] = {
|
|
14
|
+
"method": "options",
|
|
15
|
+
"url": "/projects",
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
return _kwargs
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def _parse_response(*, client: Client, response: httpx.Response) -> Optional[ProjectCreateOptions]:
|
|
22
|
+
if response.status_code == HTTPStatus.OK:
|
|
23
|
+
response_200 = ProjectCreateOptions.from_dict(response.json())
|
|
24
|
+
|
|
25
|
+
return response_200
|
|
26
|
+
|
|
27
|
+
errors.handle_error_response(response, client.raise_on_unexpected_status)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def _build_response(*, client: Client, response: httpx.Response) -> Response[ProjectCreateOptions]:
|
|
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
|
+
*,
|
|
41
|
+
client: Client,
|
|
42
|
+
) -> Response[ProjectCreateOptions]:
|
|
43
|
+
"""Get project create options
|
|
44
|
+
|
|
45
|
+
Get allowed options for creating a project
|
|
46
|
+
|
|
47
|
+
Raises:
|
|
48
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
49
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
50
|
+
|
|
51
|
+
Returns:
|
|
52
|
+
Response[ProjectCreateOptions]
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = _get_kwargs()
|
|
56
|
+
|
|
57
|
+
response = client.get_httpx_client().request(
|
|
58
|
+
auth=client.get_auth(),
|
|
59
|
+
**kwargs,
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
return _build_response(client=client, response=response)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def sync(
|
|
66
|
+
*,
|
|
67
|
+
client: Client,
|
|
68
|
+
) -> Optional[ProjectCreateOptions]:
|
|
69
|
+
"""Get project create options
|
|
70
|
+
|
|
71
|
+
Get allowed options for creating a project
|
|
72
|
+
|
|
73
|
+
Raises:
|
|
74
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
75
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
76
|
+
|
|
77
|
+
Returns:
|
|
78
|
+
ProjectCreateOptions
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
try:
|
|
82
|
+
return sync_detailed(
|
|
83
|
+
client=client,
|
|
84
|
+
).parsed
|
|
85
|
+
except errors.NotFoundException:
|
|
86
|
+
return None
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
async def asyncio_detailed(
|
|
90
|
+
*,
|
|
91
|
+
client: Client,
|
|
92
|
+
) -> Response[ProjectCreateOptions]:
|
|
93
|
+
"""Get project create options
|
|
94
|
+
|
|
95
|
+
Get allowed options for creating a project
|
|
96
|
+
|
|
97
|
+
Raises:
|
|
98
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
99
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
100
|
+
|
|
101
|
+
Returns:
|
|
102
|
+
Response[ProjectCreateOptions]
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
kwargs = _get_kwargs()
|
|
106
|
+
|
|
107
|
+
response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs)
|
|
108
|
+
|
|
109
|
+
return _build_response(client=client, response=response)
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
async def asyncio(
|
|
113
|
+
*,
|
|
114
|
+
client: Client,
|
|
115
|
+
) -> Optional[ProjectCreateOptions]:
|
|
116
|
+
"""Get project create options
|
|
117
|
+
|
|
118
|
+
Get allowed options for creating a project
|
|
119
|
+
|
|
120
|
+
Raises:
|
|
121
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
122
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
123
|
+
|
|
124
|
+
Returns:
|
|
125
|
+
ProjectCreateOptions
|
|
126
|
+
"""
|
|
127
|
+
|
|
128
|
+
try:
|
|
129
|
+
return (
|
|
130
|
+
await asyncio_detailed(
|
|
131
|
+
client=client,
|
|
132
|
+
)
|
|
133
|
+
).parsed
|
|
134
|
+
except errors.NotFoundException:
|
|
135
|
+
return None
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Dict, Optional
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import Client
|
|
8
|
+
from ...types import Response
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def _get_kwargs(
|
|
12
|
+
project_id: str,
|
|
13
|
+
) -> Dict[str, Any]:
|
|
14
|
+
_kwargs: Dict[str, Any] = {
|
|
15
|
+
"method": "put",
|
|
16
|
+
"url": f"/projects/{project_id}:unarchive",
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
return _kwargs
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Any]:
|
|
23
|
+
if response.status_code == HTTPStatus.OK:
|
|
24
|
+
return None
|
|
25
|
+
|
|
26
|
+
errors.handle_error_response(response, client.raise_on_unexpected_status)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def _build_response(*, client: Client, response: httpx.Response) -> Response[Any]:
|
|
30
|
+
return Response(
|
|
31
|
+
status_code=HTTPStatus(response.status_code),
|
|
32
|
+
content=response.content,
|
|
33
|
+
headers=response.headers,
|
|
34
|
+
parsed=_parse_response(client=client, response=response),
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def sync_detailed(
|
|
39
|
+
project_id: str,
|
|
40
|
+
*,
|
|
41
|
+
client: Client,
|
|
42
|
+
) -> Response[Any]:
|
|
43
|
+
"""Unarchive project
|
|
44
|
+
|
|
45
|
+
Sets the project status to active
|
|
46
|
+
|
|
47
|
+
Args:
|
|
48
|
+
project_id (str):
|
|
49
|
+
client (Client): instance of the API client
|
|
50
|
+
|
|
51
|
+
Raises:
|
|
52
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
53
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
54
|
+
|
|
55
|
+
Returns:
|
|
56
|
+
Response[Any]
|
|
57
|
+
"""
|
|
58
|
+
|
|
59
|
+
kwargs = _get_kwargs(
|
|
60
|
+
project_id=project_id,
|
|
61
|
+
)
|
|
62
|
+
|
|
63
|
+
response = client.get_httpx_client().request(
|
|
64
|
+
auth=client.get_auth(),
|
|
65
|
+
**kwargs,
|
|
66
|
+
)
|
|
67
|
+
|
|
68
|
+
return _build_response(client=client, response=response)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
async def asyncio_detailed(
|
|
72
|
+
project_id: str,
|
|
73
|
+
*,
|
|
74
|
+
client: Client,
|
|
75
|
+
) -> Response[Any]:
|
|
76
|
+
"""Unarchive project
|
|
77
|
+
|
|
78
|
+
Sets the project status to active
|
|
79
|
+
|
|
80
|
+
Args:
|
|
81
|
+
project_id (str):
|
|
82
|
+
client (Client): instance of the API client
|
|
83
|
+
|
|
84
|
+
Raises:
|
|
85
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
86
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
87
|
+
|
|
88
|
+
Returns:
|
|
89
|
+
Response[Any]
|
|
90
|
+
"""
|
|
91
|
+
|
|
92
|
+
kwargs = _get_kwargs(
|
|
93
|
+
project_id=project_id,
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs)
|
|
97
|
+
|
|
98
|
+
return _build_response(client=client, response=response)
|
|
File without changes
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"""Contains all the data models used in inputs/outputs"""
|
|
2
2
|
|
|
3
3
|
from .access_type import AccessType
|
|
4
|
+
from .agent import Agent
|
|
5
|
+
from .agent_status import AgentStatus
|
|
6
|
+
from .agent_tags import AgentTags
|
|
4
7
|
from .allowed_data_type import AllowedDataType
|
|
5
8
|
from .approve_project_access_request import ApproveProjectAccessRequest
|
|
6
9
|
from .audit_event import AuditEvent
|
|
@@ -16,6 +19,8 @@ from .calculate_pipeline_cost_request import CalculatePipelineCostRequest
|
|
|
16
19
|
from .cloud_account import CloudAccount
|
|
17
20
|
from .cloud_account_type import CloudAccountType
|
|
18
21
|
from .column_definition import ColumnDefinition
|
|
22
|
+
from .compute_environment_configuration import ComputeEnvironmentConfiguration
|
|
23
|
+
from .compute_environment_configuration_properties import ComputeEnvironmentConfigurationProperties
|
|
19
24
|
from .contact import Contact
|
|
20
25
|
from .create_notebook_instance_request import CreateNotebookInstanceRequest
|
|
21
26
|
from .create_project_access_request import CreateProjectAccessRequest
|
|
@@ -35,8 +40,10 @@ from .dataset_detail import DatasetDetail
|
|
|
35
40
|
from .dataset_detail_info import DatasetDetailInfo
|
|
36
41
|
from .dataset_detail_params import DatasetDetailParams
|
|
37
42
|
from .dataset_viz import DatasetViz
|
|
43
|
+
from .environment_type import EnvironmentType
|
|
38
44
|
from .error_message import ErrorMessage
|
|
39
45
|
from .executor import Executor
|
|
46
|
+
from .feature_flags import FeatureFlags
|
|
40
47
|
from .file_access_request import FileAccessRequest
|
|
41
48
|
from .file_entry import FileEntry
|
|
42
49
|
from .file_entry_metadata import FileEntryMetadata
|
|
@@ -68,6 +75,7 @@ from .process import Process
|
|
|
68
75
|
from .process_detail import ProcessDetail
|
|
69
76
|
from .project import Project
|
|
70
77
|
from .project_access_request import ProjectAccessRequest
|
|
78
|
+
from .project_create_options import ProjectCreateOptions
|
|
71
79
|
from .project_detail import ProjectDetail
|
|
72
80
|
from .project_metrics import ProjectMetrics
|
|
73
81
|
from .project_request import ProjectRequest
|
|
@@ -109,6 +117,9 @@ from .validate_file_requirements_request import ValidateFileRequirementsRequest
|
|
|
109
117
|
|
|
110
118
|
__all__ = (
|
|
111
119
|
"AccessType",
|
|
120
|
+
"Agent",
|
|
121
|
+
"AgentStatus",
|
|
122
|
+
"AgentTags",
|
|
112
123
|
"AllowedDataType",
|
|
113
124
|
"ApproveProjectAccessRequest",
|
|
114
125
|
"AuditEvent",
|
|
@@ -124,6 +135,8 @@ __all__ = (
|
|
|
124
135
|
"CloudAccount",
|
|
125
136
|
"CloudAccountType",
|
|
126
137
|
"ColumnDefinition",
|
|
138
|
+
"ComputeEnvironmentConfiguration",
|
|
139
|
+
"ComputeEnvironmentConfigurationProperties",
|
|
127
140
|
"Contact",
|
|
128
141
|
"CreateNotebookInstanceRequest",
|
|
129
142
|
"CreateProjectAccessRequest",
|
|
@@ -143,8 +156,10 @@ __all__ = (
|
|
|
143
156
|
"DatasetDetailInfo",
|
|
144
157
|
"DatasetDetailParams",
|
|
145
158
|
"DatasetViz",
|
|
159
|
+
"EnvironmentType",
|
|
146
160
|
"ErrorMessage",
|
|
147
161
|
"Executor",
|
|
162
|
+
"FeatureFlags",
|
|
148
163
|
"FileAccessRequest",
|
|
149
164
|
"FileEntry",
|
|
150
165
|
"FileEntryMetadata",
|
|
@@ -176,6 +191,7 @@ __all__ = (
|
|
|
176
191
|
"ProcessDetail",
|
|
177
192
|
"Project",
|
|
178
193
|
"ProjectAccessRequest",
|
|
194
|
+
"ProjectCreateOptions",
|
|
179
195
|
"ProjectDetail",
|
|
180
196
|
"ProjectMetrics",
|
|
181
197
|
"ProjectRequest",
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
from ..models.agent_status import AgentStatus
|
|
7
|
+
from ..types import UNSET, Unset
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
from ..models.agent_tags import AgentTags
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
T = TypeVar("T", bound="Agent")
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
@_attrs_define
|
|
17
|
+
class Agent:
|
|
18
|
+
"""Details of the agent
|
|
19
|
+
|
|
20
|
+
Attributes:
|
|
21
|
+
status (AgentStatus): The status of the agent
|
|
22
|
+
id (Union[Unset, str]): The unique ID of the agent
|
|
23
|
+
name (Union[Unset, str]): The display name of the agent
|
|
24
|
+
tags (Union[Unset, AgentTags]):
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
status: AgentStatus
|
|
28
|
+
id: Union[Unset, str] = UNSET
|
|
29
|
+
name: Union[Unset, str] = UNSET
|
|
30
|
+
tags: Union[Unset, "AgentTags"] = UNSET
|
|
31
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
32
|
+
|
|
33
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
34
|
+
status = self.status.value
|
|
35
|
+
|
|
36
|
+
id = self.id
|
|
37
|
+
|
|
38
|
+
name = self.name
|
|
39
|
+
|
|
40
|
+
tags: Union[Unset, Dict[str, Any]] = UNSET
|
|
41
|
+
if not isinstance(self.tags, Unset):
|
|
42
|
+
tags = self.tags.to_dict()
|
|
43
|
+
|
|
44
|
+
field_dict: Dict[str, Any] = {}
|
|
45
|
+
field_dict.update(self.additional_properties)
|
|
46
|
+
field_dict.update(
|
|
47
|
+
{
|
|
48
|
+
"status": status,
|
|
49
|
+
}
|
|
50
|
+
)
|
|
51
|
+
if id is not UNSET:
|
|
52
|
+
field_dict["id"] = id
|
|
53
|
+
if name is not UNSET:
|
|
54
|
+
field_dict["name"] = name
|
|
55
|
+
if tags is not UNSET:
|
|
56
|
+
field_dict["tags"] = tags
|
|
57
|
+
|
|
58
|
+
return field_dict
|
|
59
|
+
|
|
60
|
+
@classmethod
|
|
61
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
62
|
+
from ..models.agent_tags import AgentTags
|
|
63
|
+
|
|
64
|
+
d = src_dict.copy()
|
|
65
|
+
status = AgentStatus(d.pop("status"))
|
|
66
|
+
|
|
67
|
+
id = d.pop("id", UNSET)
|
|
68
|
+
|
|
69
|
+
name = d.pop("name", UNSET)
|
|
70
|
+
|
|
71
|
+
_tags = d.pop("tags", UNSET)
|
|
72
|
+
tags: Union[Unset, AgentTags]
|
|
73
|
+
if isinstance(_tags, Unset):
|
|
74
|
+
tags = UNSET
|
|
75
|
+
else:
|
|
76
|
+
tags = AgentTags.from_dict(_tags)
|
|
77
|
+
|
|
78
|
+
agent = cls(
|
|
79
|
+
status=status,
|
|
80
|
+
id=id,
|
|
81
|
+
name=name,
|
|
82
|
+
tags=tags,
|
|
83
|
+
)
|
|
84
|
+
|
|
85
|
+
agent.additional_properties = d
|
|
86
|
+
return agent
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
def additional_keys(self) -> List[str]:
|
|
90
|
+
return list(self.additional_properties.keys())
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class AgentStatus(str, Enum):
|
|
5
|
+
OFFLINE = "OFFLINE"
|
|
6
|
+
ONLINE = "ONLINE"
|
|
7
|
+
UNKNOWN = "UNKNOWN"
|
|
8
|
+
""" This is a fallback value for when the value is not known, do not use this value when making requests """
|
|
9
|
+
|
|
10
|
+
def __str__(self) -> str:
|
|
11
|
+
return str(self.value)
|
|
12
|
+
|
|
13
|
+
@classmethod
|
|
14
|
+
def _missing_(cls, number):
|
|
15
|
+
return cls(cls.UNKNOWN)
|