cirro-api-client 0.1.4__tar.gz → 0.2.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.1.4 → cirro_api_client-0.2.0}/PKG-INFO +1 -1
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/audit/list_events.py +46 -11
- cirro_api_client-0.2.0/cirro_api_client/v1/api/governance/create_classification.py +173 -0
- cirro_api_client-0.2.0/cirro_api_client/v1/api/governance/delete_classification.py +98 -0
- cirro_api_client-0.2.0/cirro_api_client/v1/api/governance/get_classification.py +163 -0
- cirro_api_client-0.2.0/cirro_api_client/v1/api/governance/get_classifications.py +140 -0
- cirro_api_client-0.2.0/cirro_api_client/v1/api/governance/update_classification.py +186 -0
- cirro_api_client-0.2.0/cirro_api_client/v1/api/project_requests/create_project_request.py +173 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/projects/create_project.py +10 -10
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/projects/update_project.py +10 -10
- cirro_api_client-0.2.0/cirro_api_client/v1/api/system/__init__.py +0 -0
- cirro_api_client-0.2.0/cirro_api_client/v1/api/users/__init__.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/__init__.py +8 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/agent.py +1 -1
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/agent_tags.py +2 -2
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/audit_event.py +1 -1
- cirro_api_client-0.2.0/cirro_api_client/v1/models/classification_input.py +54 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/compute_environment_configuration.py +2 -1
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/compute_environment_configuration_properties.py +2 -2
- cirro_api_client-0.2.0/cirro_api_client/v1/models/governance_classification.py +88 -0
- cirro_api_client-0.2.0/cirro_api_client/v1/models/list_events_entity_type.py +21 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/project.py +17 -1
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/project_detail.py +16 -0
- cirro_api_client-0.1.4/cirro_api_client/v1/models/project_request.py → cirro_api_client-0.2.0/cirro_api_client/v1/models/project_input.py +36 -5
- cirro_api_client-0.2.0/cirro_api_client/v1/models/project_request.py +86 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/pyproject.toml +1 -1
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/README.md +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/__init__.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/cirro_auth.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/cirro_client.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/__init__.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/__init__.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/audit/__init__.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/audit/get_event.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/billing/__init__.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/billing/create_billing_account.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/billing/delete_billing_account.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/billing/generate_billing_report.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/billing/get_billing_accounts.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/billing/update_billing_account.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/compute_environment/__init__.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/compute_environment/get_compute_environments.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/dashboards/__init__.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/dashboards/create_dashboard.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/dashboards/delete_dashboard.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/dashboards/get_dashboard.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/dashboards/get_dashboards.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/dashboards/update_dashboard.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/datasets/__init__.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/datasets/delete_dataset.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/datasets/get_dataset.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/datasets/get_dataset_manifest.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/datasets/get_datasets.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/datasets/import_public_dataset.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/datasets/ingest_samples.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/datasets/regenerate_manifest.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/datasets/rerun_transform.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/datasets/update_dataset.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/datasets/upload_dataset.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/execution/__init__.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/execution/get_execution_logs.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/execution/get_project_summary.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/execution/get_task_logs.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/execution/get_tasks_for_execution.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/execution/run_analysis.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/execution/stop_analysis.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/file/__init__.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/file/generate_project_file_access_token.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/file/generate_project_sftp_token.py +0 -0
- {cirro_api_client-0.1.4/cirro_api_client/v1/api/metadata → cirro_api_client-0.2.0/cirro_api_client/v1/api/governance}/__init__.py +0 -0
- {cirro_api_client-0.1.4/cirro_api_client/v1/api/metrics → cirro_api_client-0.2.0/cirro_api_client/v1/api/metadata}/__init__.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/metadata/get_project_samples.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/metadata/get_project_schema.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/metadata/update_project_schema.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/metadata/update_sample.py +0 -0
- {cirro_api_client-0.1.4/cirro_api_client/v1/api/notebooks → cirro_api_client-0.2.0/cirro_api_client/v1/api/metrics}/__init__.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/metrics/get_all_metrics.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/metrics/get_project_metrics.py +0 -0
- {cirro_api_client-0.1.4/cirro_api_client/v1/api/processes → cirro_api_client-0.2.0/cirro_api_client/v1/api/notebooks}/__init__.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/notebooks/create_notebook_instance.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/notebooks/delete_notebook_instance.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/notebooks/generate_notebook_instance_url.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/notebooks/get_notebook_instance_status.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/notebooks/get_notebook_instances.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/notebooks/stop_notebook_instance.py +0 -0
- {cirro_api_client-0.1.4/cirro_api_client/v1/api/projects → cirro_api_client-0.2.0/cirro_api_client/v1/api/processes}/__init__.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/processes/archive_custom_process.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/processes/calculate_pipeline_cost.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/processes/create_custom_process.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/processes/get_process.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/processes/get_process_parameters.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/processes/get_processes.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/processes/sync_custom_process.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/processes/update_custom_process.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/processes/validate_file_requirements.py +0 -0
- {cirro_api_client-0.1.4/cirro_api_client/v1/api/references → cirro_api_client-0.2.0/cirro_api_client/v1/api/project_requests}/__init__.py +0 -0
- {cirro_api_client-0.1.4/cirro_api_client/v1/api/system → cirro_api_client-0.2.0/cirro_api_client/v1/api/projects}/__init__.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/projects/approve_access_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/projects/archive_project.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/projects/create_access_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/projects/deny_access_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/projects/get_access_requests.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/projects/get_discoverable_projects.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/projects/get_project.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/projects/get_project_create_options.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/projects/get_project_users.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/projects/get_projects.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/projects/redeploy_project.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/projects/set_user_project_role.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/projects/unarchive_project.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/projects/update_project_tags.py +0 -0
- {cirro_api_client-0.1.4/cirro_api_client/v1/api/users → cirro_api_client-0.2.0/cirro_api_client/v1/api/references}/__init__.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/references/create_project_reference.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/references/delete_project_reference.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/references/get_reference_types.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/references/get_references.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/references/get_references_for_project.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/references/refresh_project_references.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/system/get_service_connections.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/system/info.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/users/get_user.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/users/get_users.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/users/invite_user.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/users/sign_out_user.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/users/update_user.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/client.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/errors.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/access_type.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/agent_status.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/allowed_data_type.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/approve_project_access_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/audit_event_changes.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/audit_event_event_detail.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/auth_info.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/aws_credentials.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/billing_account.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/billing_account_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/billing_method.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/budget_period.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/calculate_pipeline_cost_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/cloud_account.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/cloud_account_type.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/column_definition.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/contact.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/create_notebook_instance_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/create_project_access_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/create_reference_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/create_response.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/custom_pipeline_settings.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/customer_type.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/dashboard.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/dashboard_dashboard_data.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/dashboard_info.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/dashboard_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/dashboard_request_dashboard_data.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/dashboard_request_info.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/dataset.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/dataset_assets_manifest.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/dataset_detail.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/dataset_detail_info.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/dataset_detail_params.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/dataset_viz.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/environment_type.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/error_message.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/executor.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/feature_flags.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/file_access_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/file_entry.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/file_entry_metadata.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/file_mapping_rule.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/file_name_pattern.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/file_requirements.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/form_schema.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/form_schema_form.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/form_schema_ui.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/generate_sftp_credentials_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/get_execution_logs_response.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/get_project_summary_response_200.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/import_data_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/invite_user_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/invite_user_response.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/log_entry.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/login_provider.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/metric_record.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/metric_record_services.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/notebook_instance.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/notebook_instance_status_response.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/open_notebook_instance_response.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/paginated_response_dataset_list_dto.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/paginated_response_sample_dto.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/pipeline_code.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/pipeline_cost.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/portal_error_response.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/process.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/process_detail.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/project_access_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/project_create_options.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/project_metrics.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/project_role.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/project_settings.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/project_user.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/reference.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/reference_type.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/reference_type_validation_item.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/repository_type.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/request_status.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/resources_info.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/run_analysis_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/run_analysis_request_params.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/sample.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/sample_metadata.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/sample_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/sample_request_metadata.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/service_connection.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/set_user_project_role_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/sftp_credentials.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/status.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/stop_execution_response.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/sync_status.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/system_info_response.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/table.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/tag.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/task.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/tenant_info.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/update_dataset_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/update_user_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/update_user_request_settings.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/upload_dataset_create_response.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/upload_dataset_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/user.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/user_detail.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/user_project_assignment.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/models/validate_file_requirements_request.py +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/py.typed +0 -0
- {cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/types.py +0 -0
{cirro_api_client-0.1.4 → cirro_api_client-0.2.0}/cirro_api_client/v1/api/audit/list_events.py
RENAMED
|
@@ -1,22 +1,33 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any, Dict, List, Optional
|
|
2
|
+
from typing import Any, Dict, List, Optional, Union
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
6
6
|
from ... import errors
|
|
7
7
|
from ...client import Client
|
|
8
8
|
from ...models.audit_event import AuditEvent
|
|
9
|
-
from ...
|
|
9
|
+
from ...models.list_events_entity_type import ListEventsEntityType
|
|
10
|
+
from ...types import UNSET, Response, Unset
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
def _get_kwargs(
|
|
13
14
|
*,
|
|
14
|
-
username: str,
|
|
15
|
+
username: Union[Unset, str] = UNSET,
|
|
16
|
+
entity_type: Union[Unset, ListEventsEntityType] = UNSET,
|
|
17
|
+
entity_id: Union[Unset, str] = UNSET,
|
|
15
18
|
) -> Dict[str, Any]:
|
|
16
19
|
params: Dict[str, Any] = {}
|
|
17
20
|
|
|
18
21
|
params["username"] = username
|
|
19
22
|
|
|
23
|
+
json_entity_type: Union[Unset, str] = UNSET
|
|
24
|
+
if not isinstance(entity_type, Unset):
|
|
25
|
+
json_entity_type = entity_type.value
|
|
26
|
+
|
|
27
|
+
params["entityType"] = json_entity_type
|
|
28
|
+
|
|
29
|
+
params["entityId"] = entity_id
|
|
30
|
+
|
|
20
31
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
21
32
|
|
|
22
33
|
_kwargs: Dict[str, Any] = {
|
|
@@ -54,14 +65,18 @@ def _build_response(*, client: Client, response: httpx.Response) -> Response[Lis
|
|
|
54
65
|
def sync_detailed(
|
|
55
66
|
*,
|
|
56
67
|
client: Client,
|
|
57
|
-
username: str,
|
|
68
|
+
username: Union[Unset, str] = UNSET,
|
|
69
|
+
entity_type: Union[Unset, ListEventsEntityType] = UNSET,
|
|
70
|
+
entity_id: Union[Unset, str] = UNSET,
|
|
58
71
|
) -> Response[List["AuditEvent"]]:
|
|
59
72
|
"""List audit events
|
|
60
73
|
|
|
61
74
|
Gets a list of audit events
|
|
62
75
|
|
|
63
76
|
Args:
|
|
64
|
-
username (str):
|
|
77
|
+
username (Union[Unset, str]):
|
|
78
|
+
entity_type (Union[Unset, ListEventsEntityType]):
|
|
79
|
+
entity_id (Union[Unset, str]):
|
|
65
80
|
client (Client): instance of the API client
|
|
66
81
|
|
|
67
82
|
Raises:
|
|
@@ -74,6 +89,8 @@ def sync_detailed(
|
|
|
74
89
|
|
|
75
90
|
kwargs = _get_kwargs(
|
|
76
91
|
username=username,
|
|
92
|
+
entity_type=entity_type,
|
|
93
|
+
entity_id=entity_id,
|
|
77
94
|
)
|
|
78
95
|
|
|
79
96
|
response = client.get_httpx_client().request(
|
|
@@ -87,14 +104,18 @@ def sync_detailed(
|
|
|
87
104
|
def sync(
|
|
88
105
|
*,
|
|
89
106
|
client: Client,
|
|
90
|
-
username: str,
|
|
107
|
+
username: Union[Unset, str] = UNSET,
|
|
108
|
+
entity_type: Union[Unset, ListEventsEntityType] = UNSET,
|
|
109
|
+
entity_id: Union[Unset, str] = UNSET,
|
|
91
110
|
) -> Optional[List["AuditEvent"]]:
|
|
92
111
|
"""List audit events
|
|
93
112
|
|
|
94
113
|
Gets a list of audit events
|
|
95
114
|
|
|
96
115
|
Args:
|
|
97
|
-
username (str):
|
|
116
|
+
username (Union[Unset, str]):
|
|
117
|
+
entity_type (Union[Unset, ListEventsEntityType]):
|
|
118
|
+
entity_id (Union[Unset, str]):
|
|
98
119
|
client (Client): instance of the API client
|
|
99
120
|
|
|
100
121
|
Raises:
|
|
@@ -109,6 +130,8 @@ def sync(
|
|
|
109
130
|
return sync_detailed(
|
|
110
131
|
client=client,
|
|
111
132
|
username=username,
|
|
133
|
+
entity_type=entity_type,
|
|
134
|
+
entity_id=entity_id,
|
|
112
135
|
).parsed
|
|
113
136
|
except errors.NotFoundException:
|
|
114
137
|
return None
|
|
@@ -117,14 +140,18 @@ def sync(
|
|
|
117
140
|
async def asyncio_detailed(
|
|
118
141
|
*,
|
|
119
142
|
client: Client,
|
|
120
|
-
username: str,
|
|
143
|
+
username: Union[Unset, str] = UNSET,
|
|
144
|
+
entity_type: Union[Unset, ListEventsEntityType] = UNSET,
|
|
145
|
+
entity_id: Union[Unset, str] = UNSET,
|
|
121
146
|
) -> Response[List["AuditEvent"]]:
|
|
122
147
|
"""List audit events
|
|
123
148
|
|
|
124
149
|
Gets a list of audit events
|
|
125
150
|
|
|
126
151
|
Args:
|
|
127
|
-
username (str):
|
|
152
|
+
username (Union[Unset, str]):
|
|
153
|
+
entity_type (Union[Unset, ListEventsEntityType]):
|
|
154
|
+
entity_id (Union[Unset, str]):
|
|
128
155
|
client (Client): instance of the API client
|
|
129
156
|
|
|
130
157
|
Raises:
|
|
@@ -137,6 +164,8 @@ async def asyncio_detailed(
|
|
|
137
164
|
|
|
138
165
|
kwargs = _get_kwargs(
|
|
139
166
|
username=username,
|
|
167
|
+
entity_type=entity_type,
|
|
168
|
+
entity_id=entity_id,
|
|
140
169
|
)
|
|
141
170
|
|
|
142
171
|
response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs)
|
|
@@ -147,14 +176,18 @@ async def asyncio_detailed(
|
|
|
147
176
|
async def asyncio(
|
|
148
177
|
*,
|
|
149
178
|
client: Client,
|
|
150
|
-
username: str,
|
|
179
|
+
username: Union[Unset, str] = UNSET,
|
|
180
|
+
entity_type: Union[Unset, ListEventsEntityType] = UNSET,
|
|
181
|
+
entity_id: Union[Unset, str] = UNSET,
|
|
151
182
|
) -> Optional[List["AuditEvent"]]:
|
|
152
183
|
"""List audit events
|
|
153
184
|
|
|
154
185
|
Gets a list of audit events
|
|
155
186
|
|
|
156
187
|
Args:
|
|
157
|
-
username (str):
|
|
188
|
+
username (Union[Unset, str]):
|
|
189
|
+
entity_type (Union[Unset, ListEventsEntityType]):
|
|
190
|
+
entity_id (Union[Unset, str]):
|
|
158
191
|
client (Client): instance of the API client
|
|
159
192
|
|
|
160
193
|
Raises:
|
|
@@ -170,6 +203,8 @@ async def asyncio(
|
|
|
170
203
|
await asyncio_detailed(
|
|
171
204
|
client=client,
|
|
172
205
|
username=username,
|
|
206
|
+
entity_type=entity_type,
|
|
207
|
+
entity_id=entity_id,
|
|
173
208
|
)
|
|
174
209
|
).parsed
|
|
175
210
|
except errors.NotFoundException:
|
|
@@ -0,0 +1,173 @@
|
|
|
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.classification_input import ClassificationInput
|
|
9
|
+
from ...models.governance_classification import GovernanceClassification
|
|
10
|
+
from ...types import Response
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _get_kwargs(
|
|
14
|
+
*,
|
|
15
|
+
body: ClassificationInput,
|
|
16
|
+
) -> Dict[str, Any]:
|
|
17
|
+
headers: Dict[str, Any] = {}
|
|
18
|
+
|
|
19
|
+
_kwargs: Dict[str, Any] = {
|
|
20
|
+
"method": "put",
|
|
21
|
+
"url": "/governance/classifications",
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
_body = body.to_dict()
|
|
25
|
+
|
|
26
|
+
_kwargs["json"] = _body
|
|
27
|
+
headers["Content-Type"] = "application/json"
|
|
28
|
+
|
|
29
|
+
_kwargs["headers"] = headers
|
|
30
|
+
return _kwargs
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def _parse_response(*, client: Client, response: httpx.Response) -> Optional[GovernanceClassification]:
|
|
34
|
+
if response.status_code == HTTPStatus.CREATED:
|
|
35
|
+
response_201 = GovernanceClassification.from_dict(response.json())
|
|
36
|
+
|
|
37
|
+
return response_201
|
|
38
|
+
|
|
39
|
+
errors.handle_error_response(response, client.raise_on_unexpected_status)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def _build_response(*, client: Client, response: httpx.Response) -> Response[GovernanceClassification]:
|
|
43
|
+
return Response(
|
|
44
|
+
status_code=HTTPStatus(response.status_code),
|
|
45
|
+
content=response.content,
|
|
46
|
+
headers=response.headers,
|
|
47
|
+
parsed=_parse_response(client=client, response=response),
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
def sync_detailed(
|
|
52
|
+
*,
|
|
53
|
+
client: Client,
|
|
54
|
+
body: ClassificationInput,
|
|
55
|
+
) -> Response[GovernanceClassification]:
|
|
56
|
+
"""Create classification
|
|
57
|
+
|
|
58
|
+
Creates a classification
|
|
59
|
+
|
|
60
|
+
Args:
|
|
61
|
+
body (ClassificationInput):
|
|
62
|
+
client (Client): instance of the API client
|
|
63
|
+
|
|
64
|
+
Raises:
|
|
65
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
66
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
67
|
+
|
|
68
|
+
Returns:
|
|
69
|
+
Response[GovernanceClassification]
|
|
70
|
+
"""
|
|
71
|
+
|
|
72
|
+
kwargs = _get_kwargs(
|
|
73
|
+
body=body,
|
|
74
|
+
)
|
|
75
|
+
|
|
76
|
+
response = client.get_httpx_client().request(
|
|
77
|
+
auth=client.get_auth(),
|
|
78
|
+
**kwargs,
|
|
79
|
+
)
|
|
80
|
+
|
|
81
|
+
return _build_response(client=client, response=response)
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
def sync(
|
|
85
|
+
*,
|
|
86
|
+
client: Client,
|
|
87
|
+
body: ClassificationInput,
|
|
88
|
+
) -> Optional[GovernanceClassification]:
|
|
89
|
+
"""Create classification
|
|
90
|
+
|
|
91
|
+
Creates a classification
|
|
92
|
+
|
|
93
|
+
Args:
|
|
94
|
+
body (ClassificationInput):
|
|
95
|
+
client (Client): instance of the API client
|
|
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
|
+
GovernanceClassification
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
try:
|
|
106
|
+
return sync_detailed(
|
|
107
|
+
client=client,
|
|
108
|
+
body=body,
|
|
109
|
+
).parsed
|
|
110
|
+
except errors.NotFoundException:
|
|
111
|
+
return None
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
async def asyncio_detailed(
|
|
115
|
+
*,
|
|
116
|
+
client: Client,
|
|
117
|
+
body: ClassificationInput,
|
|
118
|
+
) -> Response[GovernanceClassification]:
|
|
119
|
+
"""Create classification
|
|
120
|
+
|
|
121
|
+
Creates a classification
|
|
122
|
+
|
|
123
|
+
Args:
|
|
124
|
+
body (ClassificationInput):
|
|
125
|
+
client (Client): instance of the API client
|
|
126
|
+
|
|
127
|
+
Raises:
|
|
128
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
129
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
130
|
+
|
|
131
|
+
Returns:
|
|
132
|
+
Response[GovernanceClassification]
|
|
133
|
+
"""
|
|
134
|
+
|
|
135
|
+
kwargs = _get_kwargs(
|
|
136
|
+
body=body,
|
|
137
|
+
)
|
|
138
|
+
|
|
139
|
+
response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs)
|
|
140
|
+
|
|
141
|
+
return _build_response(client=client, response=response)
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
async def asyncio(
|
|
145
|
+
*,
|
|
146
|
+
client: Client,
|
|
147
|
+
body: ClassificationInput,
|
|
148
|
+
) -> Optional[GovernanceClassification]:
|
|
149
|
+
"""Create classification
|
|
150
|
+
|
|
151
|
+
Creates a classification
|
|
152
|
+
|
|
153
|
+
Args:
|
|
154
|
+
body (ClassificationInput):
|
|
155
|
+
client (Client): instance of the API client
|
|
156
|
+
|
|
157
|
+
Raises:
|
|
158
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
159
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
160
|
+
|
|
161
|
+
Returns:
|
|
162
|
+
GovernanceClassification
|
|
163
|
+
"""
|
|
164
|
+
|
|
165
|
+
try:
|
|
166
|
+
return (
|
|
167
|
+
await asyncio_detailed(
|
|
168
|
+
client=client,
|
|
169
|
+
body=body,
|
|
170
|
+
)
|
|
171
|
+
).parsed
|
|
172
|
+
except errors.NotFoundException:
|
|
173
|
+
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
|
+
classification_id: str,
|
|
13
|
+
) -> Dict[str, Any]:
|
|
14
|
+
_kwargs: Dict[str, Any] = {
|
|
15
|
+
"method": "delete",
|
|
16
|
+
"url": f"/governance/classifications/{classification_id}",
|
|
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
|
+
classification_id: str,
|
|
40
|
+
*,
|
|
41
|
+
client: Client,
|
|
42
|
+
) -> Response[Any]:
|
|
43
|
+
"""Delete a classification
|
|
44
|
+
|
|
45
|
+
Deletes the classification, and removes it from all projects.
|
|
46
|
+
|
|
47
|
+
Args:
|
|
48
|
+
classification_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
|
+
classification_id=classification_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
|
+
classification_id: str,
|
|
73
|
+
*,
|
|
74
|
+
client: Client,
|
|
75
|
+
) -> Response[Any]:
|
|
76
|
+
"""Delete a classification
|
|
77
|
+
|
|
78
|
+
Deletes the classification, and removes it from all projects.
|
|
79
|
+
|
|
80
|
+
Args:
|
|
81
|
+
classification_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
|
+
classification_id=classification_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,163 @@
|
|
|
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.governance_classification import GovernanceClassification
|
|
9
|
+
from ...types import Response
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def _get_kwargs(
|
|
13
|
+
classification_id: str,
|
|
14
|
+
) -> Dict[str, Any]:
|
|
15
|
+
_kwargs: Dict[str, Any] = {
|
|
16
|
+
"method": "get",
|
|
17
|
+
"url": f"/governance/classifications/{classification_id}",
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
return _kwargs
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def _parse_response(*, client: Client, response: httpx.Response) -> Optional[GovernanceClassification]:
|
|
24
|
+
if response.status_code == HTTPStatus.OK:
|
|
25
|
+
response_200 = GovernanceClassification.from_dict(response.json())
|
|
26
|
+
|
|
27
|
+
return response_200
|
|
28
|
+
|
|
29
|
+
errors.handle_error_response(response, client.raise_on_unexpected_status)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def _build_response(*, client: Client, response: httpx.Response) -> Response[GovernanceClassification]:
|
|
33
|
+
return Response(
|
|
34
|
+
status_code=HTTPStatus(response.status_code),
|
|
35
|
+
content=response.content,
|
|
36
|
+
headers=response.headers,
|
|
37
|
+
parsed=_parse_response(client=client, response=response),
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def sync_detailed(
|
|
42
|
+
classification_id: str,
|
|
43
|
+
*,
|
|
44
|
+
client: Client,
|
|
45
|
+
) -> Response[GovernanceClassification]:
|
|
46
|
+
"""Get a classification
|
|
47
|
+
|
|
48
|
+
Retrieve a data classification
|
|
49
|
+
|
|
50
|
+
Args:
|
|
51
|
+
classification_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[GovernanceClassification]
|
|
60
|
+
"""
|
|
61
|
+
|
|
62
|
+
kwargs = _get_kwargs(
|
|
63
|
+
classification_id=classification_id,
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
response = client.get_httpx_client().request(
|
|
67
|
+
auth=client.get_auth(),
|
|
68
|
+
**kwargs,
|
|
69
|
+
)
|
|
70
|
+
|
|
71
|
+
return _build_response(client=client, response=response)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
def sync(
|
|
75
|
+
classification_id: str,
|
|
76
|
+
*,
|
|
77
|
+
client: Client,
|
|
78
|
+
) -> Optional[GovernanceClassification]:
|
|
79
|
+
"""Get a classification
|
|
80
|
+
|
|
81
|
+
Retrieve a data classification
|
|
82
|
+
|
|
83
|
+
Args:
|
|
84
|
+
classification_id (str):
|
|
85
|
+
client (Client): instance of the API client
|
|
86
|
+
|
|
87
|
+
Raises:
|
|
88
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
89
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
90
|
+
|
|
91
|
+
Returns:
|
|
92
|
+
GovernanceClassification
|
|
93
|
+
"""
|
|
94
|
+
|
|
95
|
+
try:
|
|
96
|
+
return sync_detailed(
|
|
97
|
+
classification_id=classification_id,
|
|
98
|
+
client=client,
|
|
99
|
+
).parsed
|
|
100
|
+
except errors.NotFoundException:
|
|
101
|
+
return None
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
async def asyncio_detailed(
|
|
105
|
+
classification_id: str,
|
|
106
|
+
*,
|
|
107
|
+
client: Client,
|
|
108
|
+
) -> Response[GovernanceClassification]:
|
|
109
|
+
"""Get a classification
|
|
110
|
+
|
|
111
|
+
Retrieve a data classification
|
|
112
|
+
|
|
113
|
+
Args:
|
|
114
|
+
classification_id (str):
|
|
115
|
+
client (Client): instance of the API client
|
|
116
|
+
|
|
117
|
+
Raises:
|
|
118
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
119
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
120
|
+
|
|
121
|
+
Returns:
|
|
122
|
+
Response[GovernanceClassification]
|
|
123
|
+
"""
|
|
124
|
+
|
|
125
|
+
kwargs = _get_kwargs(
|
|
126
|
+
classification_id=classification_id,
|
|
127
|
+
)
|
|
128
|
+
|
|
129
|
+
response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs)
|
|
130
|
+
|
|
131
|
+
return _build_response(client=client, response=response)
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
async def asyncio(
|
|
135
|
+
classification_id: str,
|
|
136
|
+
*,
|
|
137
|
+
client: Client,
|
|
138
|
+
) -> Optional[GovernanceClassification]:
|
|
139
|
+
"""Get a classification
|
|
140
|
+
|
|
141
|
+
Retrieve a data classification
|
|
142
|
+
|
|
143
|
+
Args:
|
|
144
|
+
classification_id (str):
|
|
145
|
+
client (Client): instance of the API client
|
|
146
|
+
|
|
147
|
+
Raises:
|
|
148
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
149
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
150
|
+
|
|
151
|
+
Returns:
|
|
152
|
+
GovernanceClassification
|
|
153
|
+
"""
|
|
154
|
+
|
|
155
|
+
try:
|
|
156
|
+
return (
|
|
157
|
+
await asyncio_detailed(
|
|
158
|
+
classification_id=classification_id,
|
|
159
|
+
client=client,
|
|
160
|
+
)
|
|
161
|
+
).parsed
|
|
162
|
+
except errors.NotFoundException:
|
|
163
|
+
return None
|