cirro-api-client 0.2.0__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/PKG-INFO +1 -1
- cirro_api_client-0.2.2/cirro_api_client/v1/api/compute_environment/create_agent.py +173 -0
- cirro_api_client-0.2.2/cirro_api_client/v1/api/compute_environment/delete_agent.py +98 -0
- cirro_api_client-0.2.2/cirro_api_client/v1/api/compute_environment/get_agents.py +140 -0
- cirro_api_client-0.2.2/cirro_api_client/v1/api/compute_environment/update_agent.py +115 -0
- cirro_api_client-0.2.0/cirro_api_client/v1/api/users/get_users.py → cirro_api_client-0.2.2/cirro_api_client/v1/api/users/list_users.py +63 -33
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/__init__.py +18 -0
- cirro_api_client-0.2.2/cirro_api_client/v1/models/agent_detail.py +203 -0
- cirro_api_client-0.2.2/cirro_api_client/v1/models/agent_detail_environment_configuration.py +32 -0
- cirro_api_client-0.2.2/cirro_api_client/v1/models/agent_detail_tags.py +32 -0
- cirro_api_client-0.2.2/cirro_api_client/v1/models/agent_input.py +185 -0
- cirro_api_client-0.2.2/cirro_api_client/v1/models/agent_input_configuration_options_schema.py +32 -0
- cirro_api_client-0.2.2/cirro_api_client/v1/models/agent_input_environment_configuration.py +37 -0
- cirro_api_client-0.2.2/cirro_api_client/v1/models/agent_input_tags.py +37 -0
- cirro_api_client-0.2.2/cirro_api_client/v1/models/agent_registration.py +78 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/audit_event.py +53 -22
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/audit_event_changes.py +1 -1
- cirro_api_client-0.2.2/cirro_api_client/v1/models/paginated_response_user_dto.py +68 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/set_user_project_role_request.py +7 -7
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/pyproject.toml +1 -1
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/README.md +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/cirro_auth.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/cirro_client.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/audit/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/audit/get_event.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/audit/list_events.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/billing/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/billing/create_billing_account.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/billing/delete_billing_account.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/billing/generate_billing_report.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/billing/get_billing_accounts.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/billing/update_billing_account.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/compute_environment/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/compute_environment/get_compute_environments.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/dashboards/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/dashboards/create_dashboard.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/dashboards/delete_dashboard.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/dashboards/get_dashboard.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/dashboards/get_dashboards.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/dashboards/update_dashboard.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/datasets/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/datasets/delete_dataset.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/datasets/get_dataset.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/datasets/get_dataset_manifest.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/datasets/get_datasets.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/datasets/import_public_dataset.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/datasets/ingest_samples.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/datasets/regenerate_manifest.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/datasets/rerun_transform.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/datasets/update_dataset.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/datasets/upload_dataset.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/execution/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/execution/get_execution_logs.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/execution/get_project_summary.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/execution/get_task_logs.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/execution/get_tasks_for_execution.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/execution/run_analysis.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/execution/stop_analysis.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/file/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/file/generate_project_file_access_token.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/file/generate_project_sftp_token.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/governance/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/governance/create_classification.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/governance/delete_classification.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/governance/get_classification.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/governance/get_classifications.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/governance/update_classification.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/metadata/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/metadata/get_project_samples.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/metadata/get_project_schema.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/metadata/update_project_schema.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/metadata/update_sample.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/metrics/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/metrics/get_all_metrics.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/metrics/get_project_metrics.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/notebooks/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/notebooks/create_notebook_instance.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/notebooks/delete_notebook_instance.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/notebooks/generate_notebook_instance_url.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/notebooks/get_notebook_instance_status.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/notebooks/get_notebook_instances.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/notebooks/stop_notebook_instance.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/processes/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/processes/archive_custom_process.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/processes/calculate_pipeline_cost.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/processes/create_custom_process.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/processes/get_process.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/processes/get_process_parameters.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/processes/get_processes.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/processes/sync_custom_process.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/processes/update_custom_process.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/processes/validate_file_requirements.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/project_requests/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/project_requests/create_project_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/projects/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/projects/approve_access_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/projects/archive_project.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/projects/create_access_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/projects/create_project.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/projects/deny_access_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/projects/get_access_requests.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/projects/get_discoverable_projects.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/projects/get_project.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/projects/get_project_create_options.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/projects/get_project_users.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/projects/get_projects.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/projects/redeploy_project.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/projects/set_user_project_role.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/projects/unarchive_project.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/projects/update_project.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/projects/update_project_tags.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/references/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/references/create_project_reference.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/references/delete_project_reference.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/references/get_reference_types.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/references/get_references.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/references/get_references_for_project.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/references/refresh_project_references.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/system/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/system/get_service_connections.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/system/info.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/users/__init__.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/users/get_user.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/users/invite_user.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/users/sign_out_user.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/api/users/update_user.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/client.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/errors.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/access_type.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/agent.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/agent_status.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/agent_tags.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/allowed_data_type.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/approve_project_access_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/audit_event_event_detail.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/auth_info.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/aws_credentials.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/billing_account.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/billing_account_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/billing_method.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/budget_period.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/calculate_pipeline_cost_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/classification_input.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/cloud_account.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/cloud_account_type.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/column_definition.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/compute_environment_configuration.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/compute_environment_configuration_properties.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/contact.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/create_notebook_instance_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/create_project_access_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/create_reference_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/create_response.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/custom_pipeline_settings.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/customer_type.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/dashboard.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/dashboard_dashboard_data.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/dashboard_info.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/dashboard_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/dashboard_request_dashboard_data.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/dashboard_request_info.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/dataset.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/dataset_assets_manifest.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/dataset_detail.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/dataset_detail_info.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/dataset_detail_params.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/dataset_viz.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/environment_type.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/error_message.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/executor.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/feature_flags.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/file_access_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/file_entry.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/file_entry_metadata.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/file_mapping_rule.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/file_name_pattern.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/file_requirements.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/form_schema.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/form_schema_form.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/form_schema_ui.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/generate_sftp_credentials_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/get_execution_logs_response.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/get_project_summary_response_200.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/governance_classification.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/import_data_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/invite_user_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/invite_user_response.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/list_events_entity_type.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/log_entry.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/login_provider.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/metric_record.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/metric_record_services.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/notebook_instance.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/notebook_instance_status_response.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/open_notebook_instance_response.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/paginated_response_dataset_list_dto.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/paginated_response_sample_dto.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/pipeline_code.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/pipeline_cost.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/portal_error_response.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/process.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/process_detail.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/project.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/project_access_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/project_create_options.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/project_detail.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/project_input.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/project_metrics.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/project_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/project_role.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/project_settings.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/project_user.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/reference.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/reference_type.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/reference_type_validation_item.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/repository_type.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/request_status.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/resources_info.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/run_analysis_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/run_analysis_request_params.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/sample.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/sample_metadata.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/sample_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/sample_request_metadata.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/service_connection.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/sftp_credentials.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/status.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/stop_execution_response.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/sync_status.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/system_info_response.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/table.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/tag.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/task.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/tenant_info.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/update_dataset_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/update_user_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/update_user_request_settings.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/upload_dataset_create_response.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/upload_dataset_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/user.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/user_detail.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/user_project_assignment.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/models/validate_file_requirements_request.py +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/py.typed +0 -0
- {cirro_api_client-0.2.0 → cirro_api_client-0.2.2}/cirro_api_client/v1/types.py +0 -0
|
@@ -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.agent_input import AgentInput
|
|
9
|
+
from ...models.create_response import CreateResponse
|
|
10
|
+
from ...types import Response
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _get_kwargs(
|
|
14
|
+
*,
|
|
15
|
+
body: AgentInput,
|
|
16
|
+
) -> Dict[str, Any]:
|
|
17
|
+
headers: Dict[str, Any] = {}
|
|
18
|
+
|
|
19
|
+
_kwargs: Dict[str, Any] = {
|
|
20
|
+
"method": "post",
|
|
21
|
+
"url": "/agents",
|
|
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[CreateResponse]:
|
|
34
|
+
if response.status_code == HTTPStatus.CREATED:
|
|
35
|
+
response_201 = CreateResponse.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[CreateResponse]:
|
|
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: AgentInput,
|
|
55
|
+
) -> Response[CreateResponse]:
|
|
56
|
+
"""Create agent
|
|
57
|
+
|
|
58
|
+
Create a new agent
|
|
59
|
+
|
|
60
|
+
Args:
|
|
61
|
+
body (AgentInput):
|
|
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[CreateResponse]
|
|
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: AgentInput,
|
|
88
|
+
) -> Optional[CreateResponse]:
|
|
89
|
+
"""Create agent
|
|
90
|
+
|
|
91
|
+
Create a new agent
|
|
92
|
+
|
|
93
|
+
Args:
|
|
94
|
+
body (AgentInput):
|
|
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
|
+
CreateResponse
|
|
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: AgentInput,
|
|
118
|
+
) -> Response[CreateResponse]:
|
|
119
|
+
"""Create agent
|
|
120
|
+
|
|
121
|
+
Create a new agent
|
|
122
|
+
|
|
123
|
+
Args:
|
|
124
|
+
body (AgentInput):
|
|
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[CreateResponse]
|
|
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: AgentInput,
|
|
148
|
+
) -> Optional[CreateResponse]:
|
|
149
|
+
"""Create agent
|
|
150
|
+
|
|
151
|
+
Create a new agent
|
|
152
|
+
|
|
153
|
+
Args:
|
|
154
|
+
body (AgentInput):
|
|
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
|
+
CreateResponse
|
|
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
|
+
agent_id: str,
|
|
13
|
+
) -> Dict[str, Any]:
|
|
14
|
+
_kwargs: Dict[str, Any] = {
|
|
15
|
+
"method": "delete",
|
|
16
|
+
"url": f"/agents/{agent_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
|
+
agent_id: str,
|
|
40
|
+
*,
|
|
41
|
+
client: Client,
|
|
42
|
+
) -> Response[Any]:
|
|
43
|
+
"""Delete agent
|
|
44
|
+
|
|
45
|
+
Delete an agent
|
|
46
|
+
|
|
47
|
+
Args:
|
|
48
|
+
agent_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
|
+
agent_id=agent_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
|
+
agent_id: str,
|
|
73
|
+
*,
|
|
74
|
+
client: Client,
|
|
75
|
+
) -> Response[Any]:
|
|
76
|
+
"""Delete agent
|
|
77
|
+
|
|
78
|
+
Delete an agent
|
|
79
|
+
|
|
80
|
+
Args:
|
|
81
|
+
agent_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
|
+
agent_id=agent_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,140 @@
|
|
|
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.agent_detail import AgentDetail
|
|
9
|
+
from ...types import Response
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def _get_kwargs() -> Dict[str, Any]:
|
|
13
|
+
_kwargs: Dict[str, Any] = {
|
|
14
|
+
"method": "get",
|
|
15
|
+
"url": "/agents",
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
return _kwargs
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def _parse_response(*, client: Client, response: httpx.Response) -> Optional[List["AgentDetail"]]:
|
|
22
|
+
if response.status_code == HTTPStatus.OK:
|
|
23
|
+
response_200 = []
|
|
24
|
+
_response_200 = response.json()
|
|
25
|
+
for response_200_item_data in _response_200:
|
|
26
|
+
response_200_item = AgentDetail.from_dict(response_200_item_data)
|
|
27
|
+
|
|
28
|
+
response_200.append(response_200_item)
|
|
29
|
+
|
|
30
|
+
return response_200
|
|
31
|
+
|
|
32
|
+
errors.handle_error_response(response, client.raise_on_unexpected_status)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def _build_response(*, client: Client, response: httpx.Response) -> Response[List["AgentDetail"]]:
|
|
36
|
+
return Response(
|
|
37
|
+
status_code=HTTPStatus(response.status_code),
|
|
38
|
+
content=response.content,
|
|
39
|
+
headers=response.headers,
|
|
40
|
+
parsed=_parse_response(client=client, response=response),
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def sync_detailed(
|
|
45
|
+
*,
|
|
46
|
+
client: Client,
|
|
47
|
+
) -> Response[List["AgentDetail"]]:
|
|
48
|
+
"""Get agents
|
|
49
|
+
|
|
50
|
+
Get a list of agents
|
|
51
|
+
|
|
52
|
+
Raises:
|
|
53
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
54
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
55
|
+
|
|
56
|
+
Returns:
|
|
57
|
+
Response[List['AgentDetail']]
|
|
58
|
+
"""
|
|
59
|
+
|
|
60
|
+
kwargs = _get_kwargs()
|
|
61
|
+
|
|
62
|
+
response = client.get_httpx_client().request(
|
|
63
|
+
auth=client.get_auth(),
|
|
64
|
+
**kwargs,
|
|
65
|
+
)
|
|
66
|
+
|
|
67
|
+
return _build_response(client=client, response=response)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
def sync(
|
|
71
|
+
*,
|
|
72
|
+
client: Client,
|
|
73
|
+
) -> Optional[List["AgentDetail"]]:
|
|
74
|
+
"""Get agents
|
|
75
|
+
|
|
76
|
+
Get a list of agents
|
|
77
|
+
|
|
78
|
+
Raises:
|
|
79
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
80
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
81
|
+
|
|
82
|
+
Returns:
|
|
83
|
+
List['AgentDetail']
|
|
84
|
+
"""
|
|
85
|
+
|
|
86
|
+
try:
|
|
87
|
+
return sync_detailed(
|
|
88
|
+
client=client,
|
|
89
|
+
).parsed
|
|
90
|
+
except errors.NotFoundException:
|
|
91
|
+
return None
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
async def asyncio_detailed(
|
|
95
|
+
*,
|
|
96
|
+
client: Client,
|
|
97
|
+
) -> Response[List["AgentDetail"]]:
|
|
98
|
+
"""Get agents
|
|
99
|
+
|
|
100
|
+
Get a list of agents
|
|
101
|
+
|
|
102
|
+
Raises:
|
|
103
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
104
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
105
|
+
|
|
106
|
+
Returns:
|
|
107
|
+
Response[List['AgentDetail']]
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
kwargs = _get_kwargs()
|
|
111
|
+
|
|
112
|
+
response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs)
|
|
113
|
+
|
|
114
|
+
return _build_response(client=client, response=response)
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
async def asyncio(
|
|
118
|
+
*,
|
|
119
|
+
client: Client,
|
|
120
|
+
) -> Optional[List["AgentDetail"]]:
|
|
121
|
+
"""Get agents
|
|
122
|
+
|
|
123
|
+
Get a list of agents
|
|
124
|
+
|
|
125
|
+
Raises:
|
|
126
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
127
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
128
|
+
|
|
129
|
+
Returns:
|
|
130
|
+
List['AgentDetail']
|
|
131
|
+
"""
|
|
132
|
+
|
|
133
|
+
try:
|
|
134
|
+
return (
|
|
135
|
+
await asyncio_detailed(
|
|
136
|
+
client=client,
|
|
137
|
+
)
|
|
138
|
+
).parsed
|
|
139
|
+
except errors.NotFoundException:
|
|
140
|
+
return None
|
|
@@ -0,0 +1,115 @@
|
|
|
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.agent_input import AgentInput
|
|
9
|
+
from ...types import Response
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def _get_kwargs(
|
|
13
|
+
agent_id: str,
|
|
14
|
+
*,
|
|
15
|
+
body: AgentInput,
|
|
16
|
+
) -> Dict[str, Any]:
|
|
17
|
+
headers: Dict[str, Any] = {}
|
|
18
|
+
|
|
19
|
+
_kwargs: Dict[str, Any] = {
|
|
20
|
+
"method": "put",
|
|
21
|
+
"url": f"/agents/{agent_id}",
|
|
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[Any]:
|
|
34
|
+
if response.status_code == HTTPStatus.OK:
|
|
35
|
+
return None
|
|
36
|
+
|
|
37
|
+
errors.handle_error_response(response, client.raise_on_unexpected_status)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def _build_response(*, client: Client, response: httpx.Response) -> Response[Any]:
|
|
41
|
+
return Response(
|
|
42
|
+
status_code=HTTPStatus(response.status_code),
|
|
43
|
+
content=response.content,
|
|
44
|
+
headers=response.headers,
|
|
45
|
+
parsed=_parse_response(client=client, response=response),
|
|
46
|
+
)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def sync_detailed(
|
|
50
|
+
agent_id: str,
|
|
51
|
+
*,
|
|
52
|
+
client: Client,
|
|
53
|
+
body: AgentInput,
|
|
54
|
+
) -> Response[Any]:
|
|
55
|
+
"""Update agent
|
|
56
|
+
|
|
57
|
+
Update an agent
|
|
58
|
+
|
|
59
|
+
Args:
|
|
60
|
+
agent_id (str):
|
|
61
|
+
body (AgentInput):
|
|
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[Any]
|
|
70
|
+
"""
|
|
71
|
+
|
|
72
|
+
kwargs = _get_kwargs(
|
|
73
|
+
agent_id=agent_id,
|
|
74
|
+
body=body,
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
response = client.get_httpx_client().request(
|
|
78
|
+
auth=client.get_auth(),
|
|
79
|
+
**kwargs,
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
return _build_response(client=client, response=response)
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
async def asyncio_detailed(
|
|
86
|
+
agent_id: str,
|
|
87
|
+
*,
|
|
88
|
+
client: Client,
|
|
89
|
+
body: AgentInput,
|
|
90
|
+
) -> Response[Any]:
|
|
91
|
+
"""Update agent
|
|
92
|
+
|
|
93
|
+
Update an agent
|
|
94
|
+
|
|
95
|
+
Args:
|
|
96
|
+
agent_id (str):
|
|
97
|
+
body (AgentInput):
|
|
98
|
+
client (Client): instance of the API client
|
|
99
|
+
|
|
100
|
+
Raises:
|
|
101
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
102
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
103
|
+
|
|
104
|
+
Returns:
|
|
105
|
+
Response[Any]
|
|
106
|
+
"""
|
|
107
|
+
|
|
108
|
+
kwargs = _get_kwargs(
|
|
109
|
+
agent_id=agent_id,
|
|
110
|
+
body=body,
|
|
111
|
+
)
|
|
112
|
+
|
|
113
|
+
response = await client.get_async_httpx_client().request(auth=client.get_auth(), **kwargs)
|
|
114
|
+
|
|
115
|
+
return _build_response(client=client, response=response)
|