blaxel 0.2.31rc120__py3-none-any.whl → 0.2.32__py3-none-any.whl
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.
- blaxel/__init__.py +3 -3
- blaxel/core/agents/__init__.py +16 -7
- blaxel/core/authentication/__init__.py +2 -1
- blaxel/core/authentication/devicemode.py +9 -1
- blaxel/core/authentication/oauth.py +13 -6
- blaxel/core/authentication/types.py +1 -0
- blaxel/core/cache/cache.py +10 -3
- blaxel/core/client/api/agents/create_agent.py +5 -5
- blaxel/core/client/api/agents/delete_agent.py +5 -5
- blaxel/core/client/api/agents/get_agent.py +4 -4
- blaxel/core/client/api/agents/list_agent_revisions.py +8 -6
- blaxel/core/client/api/agents/list_agents.py +5 -5
- blaxel/core/client/api/agents/update_agent.py +5 -5
- blaxel/core/client/api/compute/create_sandbox.py +5 -5
- blaxel/core/client/api/compute/create_sandbox_preview.py +5 -5
- blaxel/core/client/api/compute/create_sandbox_preview_token.py +5 -5
- blaxel/core/client/api/compute/delete_sandbox.py +5 -5
- blaxel/core/client/api/compute/delete_sandbox_preview.py +5 -5
- blaxel/core/client/api/compute/delete_sandbox_preview_token.py +11 -7
- blaxel/core/client/api/compute/get_sandbox.py +4 -4
- blaxel/core/client/api/compute/get_sandbox_preview.py +5 -5
- blaxel/core/client/api/compute/list_sandbox_preview_tokens.py +5 -5
- blaxel/core/client/api/compute/list_sandbox_previews.py +5 -5
- blaxel/core/client/api/compute/list_sandboxes.py +5 -5
- blaxel/core/client/api/compute/update_sandbox.py +5 -5
- blaxel/core/client/api/compute/update_sandbox_preview.py +5 -5
- blaxel/core/client/api/configurations/get_configuration.py +5 -5
- blaxel/core/client/api/customdomains/create_custom_domain.py +5 -5
- blaxel/core/client/api/customdomains/delete_custom_domain.py +5 -5
- blaxel/core/client/api/customdomains/get_custom_domain.py +5 -5
- blaxel/core/client/api/customdomains/list_custom_domains.py +5 -5
- blaxel/core/client/api/customdomains/update_custom_domain.py +5 -5
- blaxel/core/client/api/customdomains/verify_custom_domain.py +5 -5
- blaxel/core/client/api/default/get_template.py +5 -5
- blaxel/core/client/api/default/list_mcp_hub_definitions.py +5 -5
- blaxel/core/client/api/default/list_sandbox_hub_definitions.py +11 -7
- blaxel/core/client/api/functions/create_function.py +5 -5
- blaxel/core/client/api/functions/delete_function.py +5 -5
- blaxel/core/client/api/functions/get_function.py +4 -4
- blaxel/core/client/api/functions/list_function_revisions.py +8 -6
- blaxel/core/client/api/functions/list_functions.py +5 -5
- blaxel/core/client/api/functions/update_function.py +5 -5
- blaxel/core/client/api/images/cleanup_images.py +8 -6
- blaxel/core/client/api/images/delete_image.py +4 -4
- blaxel/core/client/api/images/delete_image_tag.py +4 -4
- blaxel/core/client/api/images/get_image.py +5 -5
- blaxel/core/client/api/images/list_images.py +5 -5
- blaxel/core/client/api/integrations/create_integration_connection.py +5 -5
- blaxel/core/client/api/integrations/delete_integration_connection.py +5 -5
- blaxel/core/client/api/integrations/get_integration.py +5 -5
- blaxel/core/client/api/integrations/get_integration_connection.py +5 -5
- blaxel/core/client/api/integrations/get_integration_connection_model.py +3 -3
- blaxel/core/client/api/integrations/get_integration_connection_model_endpoint_configurations.py +3 -3
- blaxel/core/client/api/integrations/list_integration_connection_models.py +3 -3
- blaxel/core/client/api/integrations/list_integration_connections.py +11 -7
- blaxel/core/client/api/integrations/update_integration_connection.py +5 -5
- blaxel/core/client/api/invitations/list_all_pending_invitations.py +7 -5
- blaxel/core/client/api/jobs/create_job.py +5 -5
- blaxel/core/client/api/jobs/create_job_execution.py +7 -5
- blaxel/core/client/api/jobs/delete_job.py +5 -5
- blaxel/core/client/api/jobs/delete_job_execution.py +7 -5
- blaxel/core/client/api/jobs/get_job.py +4 -4
- blaxel/core/client/api/jobs/get_job_execution.py +7 -5
- blaxel/core/client/api/jobs/list_job_executions.py +10 -6
- blaxel/core/client/api/jobs/list_job_revisions.py +8 -6
- blaxel/core/client/api/jobs/list_jobs.py +5 -5
- blaxel/core/client/api/jobs/update_job.py +5 -5
- blaxel/core/client/api/locations/list_locations.py +8 -6
- blaxel/core/client/api/models/create_model.py +5 -5
- blaxel/core/client/api/models/delete_model.py +5 -5
- blaxel/core/client/api/models/get_model.py +5 -5
- blaxel/core/client/api/models/list_model_revisions.py +8 -6
- blaxel/core/client/api/models/list_models.py +5 -5
- blaxel/core/client/api/models/update_model.py +5 -5
- blaxel/core/client/api/policies/create_policy.py +5 -5
- blaxel/core/client/api/policies/delete_policy.py +5 -5
- blaxel/core/client/api/policies/get_policy.py +5 -5
- blaxel/core/client/api/policies/list_policies.py +5 -5
- blaxel/core/client/api/policies/update_policy.py +5 -5
- blaxel/core/client/api/public_ipslist/list_public_ips.py +5 -5
- blaxel/core/client/api/service_accounts/create_api_key_for_service_account.py +5 -5
- blaxel/core/client/api/service_accounts/create_workspace_service_account.py +11 -7
- blaxel/core/client/api/service_accounts/delete_api_key_for_service_account.py +3 -3
- blaxel/core/client/api/service_accounts/delete_workspace_service_account.py +11 -7
- blaxel/core/client/api/service_accounts/get_workspace_service_accounts.py +8 -6
- blaxel/core/client/api/service_accounts/list_api_keys_for_service_account.py +5 -5
- blaxel/core/client/api/service_accounts/update_workspace_service_account.py +11 -7
- blaxel/core/client/api/templates/list_templates.py +5 -5
- blaxel/core/client/api/volume_templates/create_volume_template.py +4 -4
- blaxel/core/client/api/volume_templates/delete_volume_template.py +5 -5
- blaxel/core/client/api/volume_templates/delete_volume_template_version.py +4 -4
- blaxel/core/client/api/volume_templates/get_volume_template.py +5 -5
- blaxel/core/client/api/volume_templates/list_volume_templates.py +8 -6
- blaxel/core/client/api/volume_templates/update_volume_template.py +4 -4
- blaxel/core/client/api/volumes/create_volume.py +5 -5
- blaxel/core/client/api/volumes/delete_volume.py +5 -5
- blaxel/core/client/api/volumes/get_volume.py +5 -5
- blaxel/core/client/api/volumes/list_volumes.py +5 -5
- blaxel/core/client/api/workspaces/accept_workspace_invitation.py +10 -6
- blaxel/core/client/api/workspaces/check_workspace_availability.py +5 -5
- blaxel/core/client/api/workspaces/create_workspace.py +5 -5
- blaxel/core/client/api/workspaces/decline_workspace_invitation.py +5 -5
- blaxel/core/client/api/workspaces/delete_workspace.py +5 -5
- blaxel/core/client/api/workspaces/get_workspace.py +5 -5
- blaxel/core/client/api/workspaces/invite_workspace_user.py +10 -6
- blaxel/core/client/api/workspaces/leave_workspace.py +4 -4
- blaxel/core/client/api/workspaces/list_workspace_users.py +5 -5
- blaxel/core/client/api/workspaces/list_workspaces.py +5 -5
- blaxel/core/client/api/workspaces/remove_workspace_user.py +3 -3
- blaxel/core/client/api/workspaces/update_workspace.py +5 -5
- blaxel/core/client/api/workspaces/update_workspace_user_role.py +10 -6
- blaxel/core/client/client.py +5 -19
- blaxel/core/client/models/acl.py +3 -3
- blaxel/core/client/models/agent.py +12 -5
- blaxel/core/client/models/agent_spec.py +22 -7
- blaxel/core/client/models/api_key.py +6 -6
- blaxel/core/client/models/billable_time_metric.py +3 -4
- blaxel/core/client/models/check_workspace_availability_body.py +1 -1
- blaxel/core/client/models/cleanup_images_response_200.py +1 -1
- blaxel/core/client/models/configuration.py +2 -3
- blaxel/core/client/models/continent.py +2 -2
- blaxel/core/client/models/core_event.py +3 -3
- blaxel/core/client/models/core_spec.py +14 -5
- blaxel/core/client/models/core_spec_configurations.py +1 -2
- blaxel/core/client/models/country.py +2 -2
- blaxel/core/client/models/create_api_key_for_service_account_body.py +1 -1
- blaxel/core/client/models/create_job_execution_request.py +4 -5
- blaxel/core/client/models/create_job_execution_request_tasks_item.py +1 -1
- blaxel/core/client/models/create_job_execution_response.py +4 -5
- blaxel/core/client/models/create_job_execution_response_tasks_item.py +1 -1
- blaxel/core/client/models/create_workspace_service_account_body.py +1 -1
- blaxel/core/client/models/create_workspace_service_account_response_200.py +1 -1
- blaxel/core/client/models/custom_domain.py +6 -3
- blaxel/core/client/models/custom_domain_metadata.py +6 -7
- blaxel/core/client/models/custom_domain_spec.py +10 -7
- blaxel/core/client/models/custom_domain_spec_txt_records.py +1 -1
- blaxel/core/client/models/delete_sandbox_preview_token_response_200.py +1 -1
- blaxel/core/client/models/delete_volume_template_version_response_200.py +6 -3
- blaxel/core/client/models/delete_workspace_service_account_response_200.py +1 -1
- blaxel/core/client/models/entrypoint.py +4 -3
- blaxel/core/client/models/entrypoint_env.py +1 -1
- blaxel/core/client/models/expiration_policy.py +2 -2
- blaxel/core/client/models/flavor.py +2 -2
- blaxel/core/client/models/form.py +6 -3
- blaxel/core/client/models/form_config.py +1 -1
- blaxel/core/client/models/form_oauth.py +1 -1
- blaxel/core/client/models/form_secrets.py +1 -1
- blaxel/core/client/models/function.py +12 -5
- blaxel/core/client/models/function_spec.py +17 -6
- blaxel/core/client/models/get_workspace_service_accounts_response_200_item.py +1 -1
- blaxel/core/client/models/histogram_bucket.py +1 -1
- blaxel/core/client/models/histogram_stats.py +1 -1
- blaxel/core/client/models/image.py +6 -3
- blaxel/core/client/models/image_metadata.py +6 -6
- blaxel/core/client/models/image_spec.py +1 -2
- blaxel/core/client/models/image_tag.py +3 -3
- blaxel/core/client/models/integration.py +12 -5
- blaxel/core/client/models/integration_additional_infos.py +1 -1
- blaxel/core/client/models/integration_connection.py +6 -3
- blaxel/core/client/models/integration_connection_spec.py +1 -2
- blaxel/core/client/models/integration_connection_spec_config.py +1 -1
- blaxel/core/client/models/integration_connection_spec_secret.py +1 -1
- blaxel/core/client/models/integration_endpoint.py +9 -6
- blaxel/core/client/models/integration_endpoint_token.py +1 -1
- blaxel/core/client/models/integration_endpoints.py +1 -3
- blaxel/core/client/models/integration_headers.py +1 -1
- blaxel/core/client/models/integration_model.py +1 -1
- blaxel/core/client/models/integration_organization.py +2 -2
- blaxel/core/client/models/integration_query_params.py +1 -1
- blaxel/core/client/models/integration_repository.py +2 -2
- blaxel/core/client/models/invite_workspace_user_body.py +1 -1
- blaxel/core/client/models/job.py +12 -5
- blaxel/core/client/models/job_execution.py +6 -3
- blaxel/core/client/models/job_execution_config.py +3 -3
- blaxel/core/client/models/job_execution_metadata.py +7 -7
- blaxel/core/client/models/job_execution_spec.py +1 -2
- blaxel/core/client/models/job_execution_stats.py +1 -1
- blaxel/core/client/models/job_execution_task.py +6 -3
- blaxel/core/client/models/job_execution_task_condition.py +3 -3
- blaxel/core/client/models/job_execution_task_metadata.py +6 -6
- blaxel/core/client/models/job_execution_task_spec.py +2 -2
- blaxel/core/client/models/job_metrics.py +15 -12
- blaxel/core/client/models/job_metrics_executions_total.py +1 -1
- blaxel/core/client/models/job_metrics_tasks_total.py +1 -1
- blaxel/core/client/models/job_spec.py +17 -6
- blaxel/core/client/models/jobs_chart_value.py +1 -1
- blaxel/core/client/models/jobs_network_chart.py +1 -2
- blaxel/core/client/models/jobs_success_failed_chart.py +11 -4
- blaxel/core/client/models/jobs_total.py +1 -1
- blaxel/core/client/models/last_n_requests_metric.py +4 -4
- blaxel/core/client/models/latency_metric.py +10 -7
- blaxel/core/client/models/location_response.py +1 -2
- blaxel/core/client/models/logs_response.py +1 -1
- blaxel/core/client/models/logs_response_data.py +4 -4
- blaxel/core/client/models/mcp_definition.py +11 -8
- blaxel/core/client/models/mcp_definition_entrypoint.py +1 -1
- blaxel/core/client/models/mcp_definition_form.py +1 -1
- blaxel/core/client/models/memory_allocation_by_name.py +1 -1
- blaxel/core/client/models/memory_allocation_metric.py +2 -2
- blaxel/core/client/models/metadata.py +6 -7
- blaxel/core/client/models/metadata_labels.py +1 -1
- blaxel/core/client/models/metric.py +2 -2
- blaxel/core/client/models/metrics.py +24 -11
- blaxel/core/client/models/metrics_models.py +1 -1
- blaxel/core/client/models/metrics_request_total_per_code.py +1 -1
- blaxel/core/client/models/metrics_rps_per_code.py +1 -1
- blaxel/core/client/models/model.py +12 -5
- blaxel/core/client/models/model_spec.py +14 -5
- blaxel/core/client/models/o_auth.py +2 -2
- blaxel/core/client/models/owner_fields.py +3 -3
- blaxel/core/client/models/pending_invitation.py +6 -6
- blaxel/core/client/models/pending_invitation_accept.py +6 -3
- blaxel/core/client/models/pending_invitation_render.py +14 -7
- blaxel/core/client/models/pending_invitation_render_invited_by.py +1 -1
- blaxel/core/client/models/pending_invitation_render_workspace.py +2 -2
- blaxel/core/client/models/pending_invitation_workspace_details.py +1 -1
- blaxel/core/client/models/pod_template_spec.py +1 -1
- blaxel/core/client/models/policy.py +6 -3
- blaxel/core/client/models/policy_location.py +2 -2
- blaxel/core/client/models/policy_max_tokens.py +5 -3
- blaxel/core/client/models/policy_spec.py +15 -8
- blaxel/core/client/models/port.py +1 -1
- blaxel/core/client/models/preview.py +6 -3
- blaxel/core/client/models/preview_metadata.py +8 -8
- blaxel/core/client/models/preview_spec.py +5 -6
- blaxel/core/client/models/preview_spec_request_headers.py +1 -1
- blaxel/core/client/models/preview_spec_response_headers.py +1 -1
- blaxel/core/client/models/preview_token.py +6 -3
- blaxel/core/client/models/preview_token_metadata.py +4 -4
- blaxel/core/client/models/preview_token_spec.py +2 -2
- blaxel/core/client/models/private_location.py +1 -1
- blaxel/core/client/models/public_ip.py +3 -3
- blaxel/core/client/models/public_ips.py +1 -2
- blaxel/core/client/models/region.py +2 -2
- blaxel/core/client/models/repository.py +2 -2
- blaxel/core/client/models/request_duration_over_time_metric.py +1 -1
- blaxel/core/client/models/request_duration_over_time_metrics.py +4 -3
- blaxel/core/client/models/request_total_by_origin_metric.py +23 -10
- blaxel/core/client/models/request_total_by_origin_metric_request_total_by_origin.py +1 -1
- blaxel/core/client/models/request_total_by_origin_metric_request_total_by_origin_and_code.py +1 -1
- blaxel/core/client/models/request_total_metric.py +14 -7
- blaxel/core/client/models/request_total_metric_request_total_per_code.py +1 -1
- blaxel/core/client/models/request_total_metric_rps_per_code.py +1 -1
- blaxel/core/client/models/request_total_response_data.py +5 -5
- blaxel/core/client/models/resource.py +6 -4
- blaxel/core/client/models/resource_log.py +1 -1
- blaxel/core/client/models/resource_log_chart.py +1 -1
- blaxel/core/client/models/resource_log_response.py +2 -2
- blaxel/core/client/models/resource_metrics.py +95 -40
- blaxel/core/client/models/resource_metrics_request_total_per_code.py +1 -1
- blaxel/core/client/models/resource_metrics_request_total_per_code_previous.py +1 -1
- blaxel/core/client/models/resource_metrics_rps_per_code.py +1 -1
- blaxel/core/client/models/resource_metrics_rps_per_code_previous.py +1 -1
- blaxel/core/client/models/resource_trace.py +5 -5
- blaxel/core/client/models/revision_configuration.py +3 -3
- blaxel/core/client/models/revision_metadata.py +5 -5
- blaxel/core/client/models/runtime.py +9 -10
- blaxel/core/client/models/runtime_configuration.py +1 -1
- blaxel/core/client/models/runtime_startup_probe.py +1 -1
- blaxel/core/client/models/sandbox.py +13 -6
- blaxel/core/client/models/sandbox_definition.py +3 -4
- blaxel/core/client/models/sandbox_lifecycle.py +2 -3
- blaxel/core/client/models/sandbox_metrics.py +1 -1
- blaxel/core/client/models/sandbox_spec.py +25 -8
- blaxel/core/client/models/serverless_config.py +4 -5
- blaxel/core/client/models/serverless_config_configuration.py +1 -1
- blaxel/core/client/models/spec_configuration.py +1 -1
- blaxel/core/client/models/start_sandbox.py +6 -3
- blaxel/core/client/models/stop_sandbox.py +6 -3
- blaxel/core/client/models/store_agent.py +6 -7
- blaxel/core/client/models/store_agent_labels.py +1 -1
- blaxel/core/client/models/store_configuration.py +7 -6
- blaxel/core/client/models/store_configuration_option.py +2 -2
- blaxel/core/client/models/template.py +6 -7
- blaxel/core/client/models/template_variable.py +1 -1
- blaxel/core/client/models/time_fields.py +3 -3
- blaxel/core/client/models/time_to_first_token_over_time_metrics.py +7 -4
- blaxel/core/client/models/token_rate_metric.py +3 -3
- blaxel/core/client/models/token_rate_metrics.py +4 -5
- blaxel/core/client/models/token_total_metric.py +13 -7
- blaxel/core/client/models/trace_ids_response.py +1 -1
- blaxel/core/client/models/trigger.py +2 -3
- blaxel/core/client/models/trigger_configuration.py +4 -5
- blaxel/core/client/models/trigger_configuration_task.py +1 -1
- blaxel/core/client/models/update_workspace_service_account_body.py +1 -1
- blaxel/core/client/models/update_workspace_service_account_response_200.py +1 -1
- blaxel/core/client/models/update_workspace_user_role_body.py +1 -1
- blaxel/core/client/models/volume.py +13 -6
- blaxel/core/client/models/volume_attachment.py +3 -3
- blaxel/core/client/models/volume_spec.py +2 -2
- blaxel/core/client/models/volume_state.py +2 -2
- blaxel/core/client/models/volume_template.py +6 -3
- blaxel/core/client/models/volume_template_spec.py +2 -2
- blaxel/core/client/models/volume_template_state.py +6 -4
- blaxel/core/client/models/volume_template_version.py +4 -4
- blaxel/core/client/models/websocket_channel.py +4 -4
- blaxel/core/client/models/websocket_message.py +3 -3
- blaxel/core/client/models/workspace.py +13 -10
- blaxel/core/client/models/workspace_labels.py +1 -1
- blaxel/core/client/models/workspace_runtime.py +1 -1
- blaxel/core/client/models/workspace_user.py +1 -1
- blaxel/core/client/response_interceptor.py +3 -1
- blaxel/core/common/autoload.py +9 -11
- blaxel/core/common/env.py +10 -8
- blaxel/core/common/settings.py +7 -5
- blaxel/core/common/webhook.py +0 -1
- blaxel/core/jobs/__init__.py +13 -3
- blaxel/core/mcp/client.py +8 -2
- blaxel/core/mcp/server.py +8 -2
- blaxel/core/models/__init__.py +6 -5
- blaxel/core/sandbox/__init__.py +1 -1
- blaxel/core/sandbox/client/api/codegen/get_codegen_reranking_path.py +10 -6
- blaxel/core/sandbox/client/api/fastapply/put_codegen_fastapply_path.py +10 -6
- blaxel/core/sandbox/client/api/filesystem/delete_filesystem_multipart_upload_id_abort.py +10 -6
- blaxel/core/sandbox/client/api/filesystem/delete_filesystem_path.py +10 -6
- blaxel/core/sandbox/client/api/filesystem/delete_filesystem_tree_path.py +10 -6
- blaxel/core/sandbox/client/api/filesystem/get_filesystem_content_search_path.py +7 -5
- blaxel/core/sandbox/client/api/filesystem/get_filesystem_find_path.py +10 -6
- blaxel/core/sandbox/client/api/filesystem/get_filesystem_multipart.py +4 -4
- blaxel/core/sandbox/client/api/filesystem/get_filesystem_multipart_upload_id_parts.py +4 -4
- blaxel/core/sandbox/client/api/filesystem/get_filesystem_path.py +4 -4
- blaxel/core/sandbox/client/api/filesystem/get_filesystem_search_path.py +10 -6
- blaxel/core/sandbox/client/api/filesystem/get_filesystem_tree_path.py +4 -4
- blaxel/core/sandbox/client/api/filesystem/get_watch_filesystem_path.py +10 -6
- blaxel/core/sandbox/client/api/filesystem/post_filesystem_multipart_initiate_path.py +4 -4
- blaxel/core/sandbox/client/api/filesystem/post_filesystem_multipart_upload_id_complete.py +10 -6
- blaxel/core/sandbox/client/api/filesystem/put_filesystem_multipart_upload_id_part.py +4 -4
- blaxel/core/sandbox/client/api/filesystem/put_filesystem_path.py +10 -6
- blaxel/core/sandbox/client/api/filesystem/put_filesystem_tree_path.py +4 -4
- blaxel/core/sandbox/client/api/network/delete_network_process_pid_monitor.py +4 -4
- blaxel/core/sandbox/client/api/network/get_network_process_pid_ports.py +4 -4
- blaxel/core/sandbox/client/api/network/post_network_process_pid_monitor.py +4 -4
- blaxel/core/sandbox/client/api/process/delete_process_identifier.py +10 -6
- blaxel/core/sandbox/client/api/process/delete_process_identifier_kill.py +10 -6
- blaxel/core/sandbox/client/api/process/get_process.py +8 -6
- blaxel/core/sandbox/client/api/process/get_process_identifier.py +10 -6
- blaxel/core/sandbox/client/api/process/get_process_identifier_logs.py +10 -6
- blaxel/core/sandbox/client/api/process/get_process_identifier_logs_stream.py +10 -6
- blaxel/core/sandbox/client/api/process/post_process.py +10 -6
- blaxel/core/sandbox/client/api/root/delete.py +5 -5
- blaxel/core/sandbox/client/api/root/get.py +5 -5
- blaxel/core/sandbox/client/api/root/options.py +5 -5
- blaxel/core/sandbox/client/api/root/patch.py +5 -5
- blaxel/core/sandbox/client/api/root/post.py +5 -5
- blaxel/core/sandbox/client/api/root/put.py +5 -5
- blaxel/core/sandbox/client/client.py +3 -1
- blaxel/core/sandbox/client/models/apply_edit_request.py +2 -2
- blaxel/core/sandbox/client/models/apply_edit_response.py +3 -3
- blaxel/core/sandbox/client/models/content_search_match.py +1 -1
- blaxel/core/sandbox/client/models/content_search_response.py +1 -1
- blaxel/core/sandbox/client/models/delete_network_process_pid_monitor_response_200.py +1 -1
- blaxel/core/sandbox/client/models/directory.py +1 -1
- blaxel/core/sandbox/client/models/error_response.py +1 -1
- blaxel/core/sandbox/client/models/file.py +2 -2
- blaxel/core/sandbox/client/models/file_request.py +2 -2
- blaxel/core/sandbox/client/models/file_with_content.py +2 -2
- blaxel/core/sandbox/client/models/filesystem_multipart_upload.py +3 -3
- blaxel/core/sandbox/client/models/filesystem_multipart_upload_parts.py +4 -2
- blaxel/core/sandbox/client/models/filesystem_uploaded_part.py +3 -3
- blaxel/core/sandbox/client/models/find_match.py +2 -2
- blaxel/core/sandbox/client/models/find_response.py +1 -1
- blaxel/core/sandbox/client/models/fuzzy_search_match.py +2 -2
- blaxel/core/sandbox/client/models/fuzzy_search_response.py +1 -1
- blaxel/core/sandbox/client/models/get_network_process_pid_ports_response_200.py +1 -1
- blaxel/core/sandbox/client/models/multipart_complete_request.py +1 -1
- blaxel/core/sandbox/client/models/multipart_initiate_request.py +1 -1
- blaxel/core/sandbox/client/models/multipart_initiate_response.py +2 -2
- blaxel/core/sandbox/client/models/multipart_list_parts_response.py +2 -2
- blaxel/core/sandbox/client/models/multipart_list_uploads_response.py +1 -1
- blaxel/core/sandbox/client/models/multipart_part_info.py +2 -2
- blaxel/core/sandbox/client/models/multipart_upload_part_response.py +2 -2
- blaxel/core/sandbox/client/models/port_monitor_request.py +1 -1
- blaxel/core/sandbox/client/models/post_network_process_pid_monitor_response_200.py +1 -1
- blaxel/core/sandbox/client/models/process_logs.py +1 -1
- blaxel/core/sandbox/client/models/process_request.py +6 -6
- blaxel/core/sandbox/client/models/process_request_env.py +1 -1
- blaxel/core/sandbox/client/models/process_response.py +8 -8
- blaxel/core/sandbox/client/models/put_filesystem_multipart_upload_id_part_body.py +1 -1
- blaxel/core/sandbox/client/models/ranked_file.py +1 -1
- blaxel/core/sandbox/client/models/reranking_response.py +1 -1
- blaxel/core/sandbox/client/models/subdirectory.py +1 -1
- blaxel/core/sandbox/client/models/success_response.py +1 -1
- blaxel/core/sandbox/client/models/tree_request.py +1 -1
- blaxel/core/sandbox/client/models/tree_request_files.py +1 -1
- blaxel/core/sandbox/client/models/welcome_response.py +1 -1
- blaxel/core/sandbox/default/__init__.py +0 -1
- blaxel/core/sandbox/default/action.py +3 -3
- blaxel/core/sandbox/default/codegen.py +2 -4
- blaxel/core/sandbox/default/filesystem.py +38 -82
- blaxel/core/sandbox/default/interpreter.py +17 -10
- blaxel/core/sandbox/default/preview.py +6 -2
- blaxel/core/sandbox/default/process.py +20 -11
- blaxel/core/sandbox/default/sandbox.py +24 -14
- blaxel/core/sandbox/sync/__init__.py +0 -2
- blaxel/core/sandbox/sync/action.py +2 -3
- blaxel/core/sandbox/sync/codegen.py +1 -5
- blaxel/core/sandbox/sync/filesystem.py +17 -6
- blaxel/core/sandbox/sync/interpreter.py +10 -6
- blaxel/core/sandbox/sync/network.py +0 -2
- blaxel/core/sandbox/sync/preview.py +76 -33
- blaxel/core/sandbox/sync/process.py +27 -12
- blaxel/core/sandbox/sync/sandbox.py +30 -18
- blaxel/core/sandbox/sync/session.py +6 -4
- blaxel/core/sandbox/types.py +2 -1
- blaxel/core/tools/__init__.py +30 -6
- blaxel/core/tools/common.py +1 -1
- blaxel/core/tools/types.py +2 -1
- blaxel/crewai/model.py +20 -5
- blaxel/googleadk/__init__.py +1 -1
- blaxel/googleadk/tools.py +3 -5
- blaxel/langgraph/custom/gemini.py +126 -133
- blaxel/langgraph/model.py +54 -50
- blaxel/langgraph/tools.py +9 -3
- blaxel/llamaindex/custom/cohere.py +25 -16
- blaxel/llamaindex/model.py +44 -57
- blaxel/llamaindex/tools.py +2 -3
- blaxel/pydantic/custom/gemini.py +3 -3
- blaxel/pydantic/tools.py +2 -4
- blaxel/telemetry/exporters.py +10 -3
- blaxel/telemetry/instrumentation/blaxel_langgraph.py +4 -2
- blaxel/telemetry/instrumentation/blaxel_langgraph_gemini.py +22 -5
- blaxel/telemetry/instrumentation/utils.py +3 -3
- blaxel/telemetry/log/log.py +2 -3
- blaxel/telemetry/log/logger.py +21 -15
- blaxel/telemetry/span.py +10 -6
- {blaxel-0.2.31rc120.dist-info → blaxel-0.2.32.dist-info}/METADATA +2 -2
- blaxel-0.2.32.dist-info/RECORD +506 -0
- blaxel/core/client/api/compute/start_sandbox.py +0 -157
- blaxel/core/client/api/compute/stop_sandbox.py +0 -157
- blaxel-0.2.31rc120.dist-info/RECORD +0 -508
- {blaxel-0.2.31rc120.dist-info → blaxel-0.2.32.dist-info}/WHEEL +0 -0
- {blaxel-0.2.31rc120.dist-info → blaxel-0.2.32.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -35,7 +35,9 @@ def _get_kwargs(
|
|
|
35
35
|
return _kwargs
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
def _parse_response(
|
|
38
|
+
def _parse_response(
|
|
39
|
+
*, client: Client, response: httpx.Response
|
|
40
|
+
) -> CreateWorkspaceServiceAccountResponse200 | None:
|
|
39
41
|
if response.status_code == 200:
|
|
40
42
|
response_200 = CreateWorkspaceServiceAccountResponse200.from_dict(response.json())
|
|
41
43
|
|
|
@@ -46,7 +48,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> CreateWorksp
|
|
|
46
48
|
return None
|
|
47
49
|
|
|
48
50
|
|
|
49
|
-
def _build_response(
|
|
51
|
+
def _build_response(
|
|
52
|
+
*, client: Client, response: httpx.Response
|
|
53
|
+
) -> Response[CreateWorkspaceServiceAccountResponse200]:
|
|
50
54
|
return Response(
|
|
51
55
|
status_code=HTTPStatus(response.status_code),
|
|
52
56
|
content=response.content,
|
|
@@ -57,7 +61,7 @@ def _build_response(*, client: Client, response: httpx.Response) -> Response[Cre
|
|
|
57
61
|
|
|
58
62
|
def sync_detailed(
|
|
59
63
|
*,
|
|
60
|
-
client:
|
|
64
|
+
client: Client,
|
|
61
65
|
body: CreateWorkspaceServiceAccountBody,
|
|
62
66
|
) -> Response[CreateWorkspaceServiceAccountResponse200]:
|
|
63
67
|
"""Create workspace service account
|
|
@@ -88,7 +92,7 @@ def sync_detailed(
|
|
|
88
92
|
|
|
89
93
|
def sync(
|
|
90
94
|
*,
|
|
91
|
-
client:
|
|
95
|
+
client: Client,
|
|
92
96
|
body: CreateWorkspaceServiceAccountBody,
|
|
93
97
|
) -> CreateWorkspaceServiceAccountResponse200 | None:
|
|
94
98
|
"""Create workspace service account
|
|
@@ -114,7 +118,7 @@ def sync(
|
|
|
114
118
|
|
|
115
119
|
async def asyncio_detailed(
|
|
116
120
|
*,
|
|
117
|
-
client:
|
|
121
|
+
client: Client,
|
|
118
122
|
body: CreateWorkspaceServiceAccountBody,
|
|
119
123
|
) -> Response[CreateWorkspaceServiceAccountResponse200]:
|
|
120
124
|
"""Create workspace service account
|
|
@@ -143,7 +147,7 @@ async def asyncio_detailed(
|
|
|
143
147
|
|
|
144
148
|
async def asyncio(
|
|
145
149
|
*,
|
|
146
|
-
client:
|
|
150
|
+
client: Client,
|
|
147
151
|
body: CreateWorkspaceServiceAccountBody,
|
|
148
152
|
) -> CreateWorkspaceServiceAccountResponse200 | None:
|
|
149
153
|
"""Create workspace service account
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -42,7 +42,7 @@ def sync_detailed(
|
|
|
42
42
|
client_id: str,
|
|
43
43
|
api_key_id: str,
|
|
44
44
|
*,
|
|
45
|
-
client:
|
|
45
|
+
client: Client,
|
|
46
46
|
) -> Response[Any]:
|
|
47
47
|
"""Delete API key for service account
|
|
48
48
|
|
|
@@ -76,7 +76,7 @@ async def asyncio_detailed(
|
|
|
76
76
|
client_id: str,
|
|
77
77
|
api_key_id: str,
|
|
78
78
|
*,
|
|
79
|
-
client:
|
|
79
|
+
client: Client,
|
|
80
80
|
) -> Response[Any]:
|
|
81
81
|
"""Delete API key for service account
|
|
82
82
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -22,7 +22,9 @@ def _get_kwargs(
|
|
|
22
22
|
return _kwargs
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
def _parse_response(
|
|
25
|
+
def _parse_response(
|
|
26
|
+
*, client: Client, response: httpx.Response
|
|
27
|
+
) -> DeleteWorkspaceServiceAccountResponse200 | None:
|
|
26
28
|
if response.status_code == 200:
|
|
27
29
|
response_200 = DeleteWorkspaceServiceAccountResponse200.from_dict(response.json())
|
|
28
30
|
|
|
@@ -33,7 +35,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> DeleteWorksp
|
|
|
33
35
|
return None
|
|
34
36
|
|
|
35
37
|
|
|
36
|
-
def _build_response(
|
|
38
|
+
def _build_response(
|
|
39
|
+
*, client: Client, response: httpx.Response
|
|
40
|
+
) -> Response[DeleteWorkspaceServiceAccountResponse200]:
|
|
37
41
|
return Response(
|
|
38
42
|
status_code=HTTPStatus(response.status_code),
|
|
39
43
|
content=response.content,
|
|
@@ -45,7 +49,7 @@ def _build_response(*, client: Client, response: httpx.Response) -> Response[Del
|
|
|
45
49
|
def sync_detailed(
|
|
46
50
|
client_id: str,
|
|
47
51
|
*,
|
|
48
|
-
client:
|
|
52
|
+
client: Client,
|
|
49
53
|
) -> Response[DeleteWorkspaceServiceAccountResponse200]:
|
|
50
54
|
"""Delete workspace service account
|
|
51
55
|
|
|
@@ -76,7 +80,7 @@ def sync_detailed(
|
|
|
76
80
|
def sync(
|
|
77
81
|
client_id: str,
|
|
78
82
|
*,
|
|
79
|
-
client:
|
|
83
|
+
client: Client,
|
|
80
84
|
) -> DeleteWorkspaceServiceAccountResponse200 | None:
|
|
81
85
|
"""Delete workspace service account
|
|
82
86
|
|
|
@@ -102,7 +106,7 @@ def sync(
|
|
|
102
106
|
async def asyncio_detailed(
|
|
103
107
|
client_id: str,
|
|
104
108
|
*,
|
|
105
|
-
client:
|
|
109
|
+
client: Client,
|
|
106
110
|
) -> Response[DeleteWorkspaceServiceAccountResponse200]:
|
|
107
111
|
"""Delete workspace service account
|
|
108
112
|
|
|
@@ -131,7 +135,7 @@ async def asyncio_detailed(
|
|
|
131
135
|
async def asyncio(
|
|
132
136
|
client_id: str,
|
|
133
137
|
*,
|
|
134
|
-
client:
|
|
138
|
+
client: Client,
|
|
135
139
|
) -> DeleteWorkspaceServiceAccountResponse200 | None:
|
|
136
140
|
"""Delete workspace service account
|
|
137
141
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -27,7 +27,9 @@ def _parse_response(
|
|
|
27
27
|
response_200 = []
|
|
28
28
|
_response_200 = response.json()
|
|
29
29
|
for response_200_item_data in _response_200:
|
|
30
|
-
response_200_item = GetWorkspaceServiceAccountsResponse200Item.from_dict(
|
|
30
|
+
response_200_item = GetWorkspaceServiceAccountsResponse200Item.from_dict(
|
|
31
|
+
response_200_item_data
|
|
32
|
+
)
|
|
31
33
|
|
|
32
34
|
response_200.append(response_200_item)
|
|
33
35
|
|
|
@@ -51,7 +53,7 @@ def _build_response(
|
|
|
51
53
|
|
|
52
54
|
def sync_detailed(
|
|
53
55
|
*,
|
|
54
|
-
client:
|
|
56
|
+
client: Client,
|
|
55
57
|
) -> Response[list["GetWorkspaceServiceAccountsResponse200Item"]]:
|
|
56
58
|
"""Get workspace service accounts
|
|
57
59
|
|
|
@@ -76,7 +78,7 @@ def sync_detailed(
|
|
|
76
78
|
|
|
77
79
|
def sync(
|
|
78
80
|
*,
|
|
79
|
-
client:
|
|
81
|
+
client: Client,
|
|
80
82
|
) -> list["GetWorkspaceServiceAccountsResponse200Item"] | None:
|
|
81
83
|
"""Get workspace service accounts
|
|
82
84
|
|
|
@@ -97,7 +99,7 @@ def sync(
|
|
|
97
99
|
|
|
98
100
|
async def asyncio_detailed(
|
|
99
101
|
*,
|
|
100
|
-
client:
|
|
102
|
+
client: Client,
|
|
101
103
|
) -> Response[list["GetWorkspaceServiceAccountsResponse200Item"]]:
|
|
102
104
|
"""Get workspace service accounts
|
|
103
105
|
|
|
@@ -120,7 +122,7 @@ async def asyncio_detailed(
|
|
|
120
122
|
|
|
121
123
|
async def asyncio(
|
|
122
124
|
*,
|
|
123
|
-
client:
|
|
125
|
+
client: Client,
|
|
124
126
|
) -> list["GetWorkspaceServiceAccountsResponse200Item"] | None:
|
|
125
127
|
"""Get workspace service accounts
|
|
126
128
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -48,7 +48,7 @@ def _build_response(*, client: Client, response: httpx.Response) -> Response[lis
|
|
|
48
48
|
def sync_detailed(
|
|
49
49
|
client_id: str,
|
|
50
50
|
*,
|
|
51
|
-
client:
|
|
51
|
+
client: Client,
|
|
52
52
|
) -> Response[list["ApiKey"]]:
|
|
53
53
|
"""List API keys for service account
|
|
54
54
|
|
|
@@ -79,7 +79,7 @@ def sync_detailed(
|
|
|
79
79
|
def sync(
|
|
80
80
|
client_id: str,
|
|
81
81
|
*,
|
|
82
|
-
client:
|
|
82
|
+
client: Client,
|
|
83
83
|
) -> list["ApiKey"] | None:
|
|
84
84
|
"""List API keys for service account
|
|
85
85
|
|
|
@@ -105,7 +105,7 @@ def sync(
|
|
|
105
105
|
async def asyncio_detailed(
|
|
106
106
|
client_id: str,
|
|
107
107
|
*,
|
|
108
|
-
client:
|
|
108
|
+
client: Client,
|
|
109
109
|
) -> Response[list["ApiKey"]]:
|
|
110
110
|
"""List API keys for service account
|
|
111
111
|
|
|
@@ -134,7 +134,7 @@ async def asyncio_detailed(
|
|
|
134
134
|
async def asyncio(
|
|
135
135
|
client_id: str,
|
|
136
136
|
*,
|
|
137
|
-
client:
|
|
137
|
+
client: Client,
|
|
138
138
|
) -> list["ApiKey"] | None:
|
|
139
139
|
"""List API keys for service account
|
|
140
140
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -36,7 +36,9 @@ def _get_kwargs(
|
|
|
36
36
|
return _kwargs
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
def _parse_response(
|
|
39
|
+
def _parse_response(
|
|
40
|
+
*, client: Client, response: httpx.Response
|
|
41
|
+
) -> UpdateWorkspaceServiceAccountResponse200 | None:
|
|
40
42
|
if response.status_code == 200:
|
|
41
43
|
response_200 = UpdateWorkspaceServiceAccountResponse200.from_dict(response.json())
|
|
42
44
|
|
|
@@ -47,7 +49,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> UpdateWorksp
|
|
|
47
49
|
return None
|
|
48
50
|
|
|
49
51
|
|
|
50
|
-
def _build_response(
|
|
52
|
+
def _build_response(
|
|
53
|
+
*, client: Client, response: httpx.Response
|
|
54
|
+
) -> Response[UpdateWorkspaceServiceAccountResponse200]:
|
|
51
55
|
return Response(
|
|
52
56
|
status_code=HTTPStatus(response.status_code),
|
|
53
57
|
content=response.content,
|
|
@@ -59,7 +63,7 @@ def _build_response(*, client: Client, response: httpx.Response) -> Response[Upd
|
|
|
59
63
|
def sync_detailed(
|
|
60
64
|
client_id: str,
|
|
61
65
|
*,
|
|
62
|
-
client:
|
|
66
|
+
client: Client,
|
|
63
67
|
body: UpdateWorkspaceServiceAccountBody,
|
|
64
68
|
) -> Response[UpdateWorkspaceServiceAccountResponse200]:
|
|
65
69
|
"""Update workspace service account
|
|
@@ -93,7 +97,7 @@ def sync_detailed(
|
|
|
93
97
|
def sync(
|
|
94
98
|
client_id: str,
|
|
95
99
|
*,
|
|
96
|
-
client:
|
|
100
|
+
client: Client,
|
|
97
101
|
body: UpdateWorkspaceServiceAccountBody,
|
|
98
102
|
) -> UpdateWorkspaceServiceAccountResponse200 | None:
|
|
99
103
|
"""Update workspace service account
|
|
@@ -122,7 +126,7 @@ def sync(
|
|
|
122
126
|
async def asyncio_detailed(
|
|
123
127
|
client_id: str,
|
|
124
128
|
*,
|
|
125
|
-
client:
|
|
129
|
+
client: Client,
|
|
126
130
|
body: UpdateWorkspaceServiceAccountBody,
|
|
127
131
|
) -> Response[UpdateWorkspaceServiceAccountResponse200]:
|
|
128
132
|
"""Update workspace service account
|
|
@@ -154,7 +158,7 @@ async def asyncio_detailed(
|
|
|
154
158
|
async def asyncio(
|
|
155
159
|
client_id: str,
|
|
156
160
|
*,
|
|
157
|
-
client:
|
|
161
|
+
client: Client,
|
|
158
162
|
body: UpdateWorkspaceServiceAccountBody,
|
|
159
163
|
) -> UpdateWorkspaceServiceAccountResponse200 | None:
|
|
160
164
|
"""Update workspace service account
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -45,7 +45,7 @@ def _build_response(*, client: Client, response: httpx.Response) -> Response[lis
|
|
|
45
45
|
|
|
46
46
|
def sync_detailed(
|
|
47
47
|
*,
|
|
48
|
-
client:
|
|
48
|
+
client: Client,
|
|
49
49
|
) -> Response[list["Template"]]:
|
|
50
50
|
"""List templates
|
|
51
51
|
|
|
@@ -70,7 +70,7 @@ def sync_detailed(
|
|
|
70
70
|
|
|
71
71
|
def sync(
|
|
72
72
|
*,
|
|
73
|
-
client:
|
|
73
|
+
client: Client,
|
|
74
74
|
) -> list["Template"] | None:
|
|
75
75
|
"""List templates
|
|
76
76
|
|
|
@@ -91,7 +91,7 @@ def sync(
|
|
|
91
91
|
|
|
92
92
|
async def asyncio_detailed(
|
|
93
93
|
*,
|
|
94
|
-
client:
|
|
94
|
+
client: Client,
|
|
95
95
|
) -> Response[list["Template"]]:
|
|
96
96
|
"""List templates
|
|
97
97
|
|
|
@@ -114,7 +114,7 @@ async def asyncio_detailed(
|
|
|
114
114
|
|
|
115
115
|
async def asyncio(
|
|
116
116
|
*,
|
|
117
|
-
client:
|
|
117
|
+
client: Client,
|
|
118
118
|
) -> list["Template"] | None:
|
|
119
119
|
"""List templates
|
|
120
120
|
|
|
@@ -65,7 +65,7 @@ def _build_response(*, client: Client, response: httpx.Response) -> Response[Vol
|
|
|
65
65
|
|
|
66
66
|
def sync_detailed(
|
|
67
67
|
*,
|
|
68
|
-
client:
|
|
68
|
+
client: Client,
|
|
69
69
|
body: VolumeTemplate,
|
|
70
70
|
upload: Union[Unset, bool] = UNSET,
|
|
71
71
|
version: Union[Unset, str] = UNSET,
|
|
@@ -102,7 +102,7 @@ def sync_detailed(
|
|
|
102
102
|
|
|
103
103
|
def sync(
|
|
104
104
|
*,
|
|
105
|
-
client:
|
|
105
|
+
client: Client,
|
|
106
106
|
body: VolumeTemplate,
|
|
107
107
|
upload: Union[Unset, bool] = UNSET,
|
|
108
108
|
version: Union[Unset, str] = UNSET,
|
|
@@ -134,7 +134,7 @@ def sync(
|
|
|
134
134
|
|
|
135
135
|
async def asyncio_detailed(
|
|
136
136
|
*,
|
|
137
|
-
client:
|
|
137
|
+
client: Client,
|
|
138
138
|
body: VolumeTemplate,
|
|
139
139
|
upload: Union[Unset, bool] = UNSET,
|
|
140
140
|
version: Union[Unset, str] = UNSET,
|
|
@@ -169,7 +169,7 @@ async def asyncio_detailed(
|
|
|
169
169
|
|
|
170
170
|
async def asyncio(
|
|
171
171
|
*,
|
|
172
|
-
client:
|
|
172
|
+
client: Client,
|
|
173
173
|
body: VolumeTemplate,
|
|
174
174
|
upload: Union[Unset, bool] = UNSET,
|
|
175
175
|
version: Union[Unset, str] = UNSET,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -43,7 +43,7 @@ def _build_response(*, client: Client, response: httpx.Response) -> Response[Vol
|
|
|
43
43
|
def sync_detailed(
|
|
44
44
|
volume_template_name: str,
|
|
45
45
|
*,
|
|
46
|
-
client:
|
|
46
|
+
client: Client,
|
|
47
47
|
) -> Response[VolumeTemplate]:
|
|
48
48
|
"""Delete volume template
|
|
49
49
|
|
|
@@ -74,7 +74,7 @@ def sync_detailed(
|
|
|
74
74
|
def sync(
|
|
75
75
|
volume_template_name: str,
|
|
76
76
|
*,
|
|
77
|
-
client:
|
|
77
|
+
client: Client,
|
|
78
78
|
) -> VolumeTemplate | None:
|
|
79
79
|
"""Delete volume template
|
|
80
80
|
|
|
@@ -100,7 +100,7 @@ def sync(
|
|
|
100
100
|
async def asyncio_detailed(
|
|
101
101
|
volume_template_name: str,
|
|
102
102
|
*,
|
|
103
|
-
client:
|
|
103
|
+
client: Client,
|
|
104
104
|
) -> Response[VolumeTemplate]:
|
|
105
105
|
"""Delete volume template
|
|
106
106
|
|
|
@@ -129,7 +129,7 @@ async def asyncio_detailed(
|
|
|
129
129
|
async def asyncio(
|
|
130
130
|
volume_template_name: str,
|
|
131
131
|
*,
|
|
132
|
-
client:
|
|
132
|
+
client: Client,
|
|
133
133
|
) -> VolumeTemplate | None:
|
|
134
134
|
"""Delete volume template
|
|
135
135
|
|
|
@@ -57,7 +57,7 @@ def sync_detailed(
|
|
|
57
57
|
volume_template_name: str,
|
|
58
58
|
version_name: str,
|
|
59
59
|
*,
|
|
60
|
-
client:
|
|
60
|
+
client: Client,
|
|
61
61
|
) -> Response[Union[Any, DeleteVolumeTemplateVersionResponse200]]:
|
|
62
62
|
"""Delete volume template version
|
|
63
63
|
|
|
@@ -91,7 +91,7 @@ def sync(
|
|
|
91
91
|
volume_template_name: str,
|
|
92
92
|
version_name: str,
|
|
93
93
|
*,
|
|
94
|
-
client:
|
|
94
|
+
client: Client,
|
|
95
95
|
) -> Union[Any, DeleteVolumeTemplateVersionResponse200] | None:
|
|
96
96
|
"""Delete volume template version
|
|
97
97
|
|
|
@@ -120,7 +120,7 @@ async def asyncio_detailed(
|
|
|
120
120
|
volume_template_name: str,
|
|
121
121
|
version_name: str,
|
|
122
122
|
*,
|
|
123
|
-
client:
|
|
123
|
+
client: Client,
|
|
124
124
|
) -> Response[Union[Any, DeleteVolumeTemplateVersionResponse200]]:
|
|
125
125
|
"""Delete volume template version
|
|
126
126
|
|
|
@@ -152,7 +152,7 @@ async def asyncio(
|
|
|
152
152
|
volume_template_name: str,
|
|
153
153
|
version_name: str,
|
|
154
154
|
*,
|
|
155
|
-
client:
|
|
155
|
+
client: Client,
|
|
156
156
|
) -> Union[Any, DeleteVolumeTemplateVersionResponse200] | None:
|
|
157
157
|
"""Delete volume template version
|
|
158
158
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -43,7 +43,7 @@ def _build_response(*, client: Client, response: httpx.Response) -> Response[Vol
|
|
|
43
43
|
def sync_detailed(
|
|
44
44
|
volume_template_name: str,
|
|
45
45
|
*,
|
|
46
|
-
client:
|
|
46
|
+
client: Client,
|
|
47
47
|
) -> Response[VolumeTemplate]:
|
|
48
48
|
"""Get volume template
|
|
49
49
|
|
|
@@ -74,7 +74,7 @@ def sync_detailed(
|
|
|
74
74
|
def sync(
|
|
75
75
|
volume_template_name: str,
|
|
76
76
|
*,
|
|
77
|
-
client:
|
|
77
|
+
client: Client,
|
|
78
78
|
) -> VolumeTemplate | None:
|
|
79
79
|
"""Get volume template
|
|
80
80
|
|
|
@@ -100,7 +100,7 @@ def sync(
|
|
|
100
100
|
async def asyncio_detailed(
|
|
101
101
|
volume_template_name: str,
|
|
102
102
|
*,
|
|
103
|
-
client:
|
|
103
|
+
client: Client,
|
|
104
104
|
) -> Response[VolumeTemplate]:
|
|
105
105
|
"""Get volume template
|
|
106
106
|
|
|
@@ -129,7 +129,7 @@ async def asyncio_detailed(
|
|
|
129
129
|
async def asyncio(
|
|
130
130
|
volume_template_name: str,
|
|
131
131
|
*,
|
|
132
|
-
client:
|
|
132
|
+
client: Client,
|
|
133
133
|
) -> VolumeTemplate | None:
|
|
134
134
|
"""Get volume template
|
|
135
135
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -34,7 +34,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> list["Volume
|
|
|
34
34
|
return None
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
def _build_response(
|
|
37
|
+
def _build_response(
|
|
38
|
+
*, client: Client, response: httpx.Response
|
|
39
|
+
) -> Response[list["VolumeTemplate"]]:
|
|
38
40
|
return Response(
|
|
39
41
|
status_code=HTTPStatus(response.status_code),
|
|
40
42
|
content=response.content,
|
|
@@ -45,7 +47,7 @@ def _build_response(*, client: Client, response: httpx.Response) -> Response[lis
|
|
|
45
47
|
|
|
46
48
|
def sync_detailed(
|
|
47
49
|
*,
|
|
48
|
-
client:
|
|
50
|
+
client: Client,
|
|
49
51
|
) -> Response[list["VolumeTemplate"]]:
|
|
50
52
|
"""List volume templates
|
|
51
53
|
|
|
@@ -70,7 +72,7 @@ def sync_detailed(
|
|
|
70
72
|
|
|
71
73
|
def sync(
|
|
72
74
|
*,
|
|
73
|
-
client:
|
|
75
|
+
client: Client,
|
|
74
76
|
) -> list["VolumeTemplate"] | None:
|
|
75
77
|
"""List volume templates
|
|
76
78
|
|
|
@@ -91,7 +93,7 @@ def sync(
|
|
|
91
93
|
|
|
92
94
|
async def asyncio_detailed(
|
|
93
95
|
*,
|
|
94
|
-
client:
|
|
96
|
+
client: Client,
|
|
95
97
|
) -> Response[list["VolumeTemplate"]]:
|
|
96
98
|
"""List volume templates
|
|
97
99
|
|
|
@@ -114,7 +116,7 @@ async def asyncio_detailed(
|
|
|
114
116
|
|
|
115
117
|
async def asyncio(
|
|
116
118
|
*,
|
|
117
|
-
client:
|
|
119
|
+
client: Client,
|
|
118
120
|
) -> list["VolumeTemplate"] | None:
|
|
119
121
|
"""List volume templates
|
|
120
122
|
|
|
@@ -67,7 +67,7 @@ def _build_response(*, client: Client, response: httpx.Response) -> Response[Vol
|
|
|
67
67
|
def sync_detailed(
|
|
68
68
|
volume_template_name: str,
|
|
69
69
|
*,
|
|
70
|
-
client:
|
|
70
|
+
client: Client,
|
|
71
71
|
body: VolumeTemplate,
|
|
72
72
|
upload: Union[Unset, bool] = UNSET,
|
|
73
73
|
version: Union[Unset, str] = UNSET,
|
|
@@ -107,7 +107,7 @@ def sync_detailed(
|
|
|
107
107
|
def sync(
|
|
108
108
|
volume_template_name: str,
|
|
109
109
|
*,
|
|
110
|
-
client:
|
|
110
|
+
client: Client,
|
|
111
111
|
body: VolumeTemplate,
|
|
112
112
|
upload: Union[Unset, bool] = UNSET,
|
|
113
113
|
version: Union[Unset, str] = UNSET,
|
|
@@ -142,7 +142,7 @@ def sync(
|
|
|
142
142
|
async def asyncio_detailed(
|
|
143
143
|
volume_template_name: str,
|
|
144
144
|
*,
|
|
145
|
-
client:
|
|
145
|
+
client: Client,
|
|
146
146
|
body: VolumeTemplate,
|
|
147
147
|
upload: Union[Unset, bool] = UNSET,
|
|
148
148
|
version: Union[Unset, str] = UNSET,
|
|
@@ -180,7 +180,7 @@ async def asyncio_detailed(
|
|
|
180
180
|
async def asyncio(
|
|
181
181
|
volume_template_name: str,
|
|
182
182
|
*,
|
|
183
|
-
client:
|
|
183
|
+
client: Client,
|
|
184
184
|
body: VolumeTemplate,
|
|
185
185
|
upload: Union[Unset, bool] = UNSET,
|
|
186
186
|
version: Union[Unset, str] = UNSET,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -54,7 +54,7 @@ def _build_response(*, client: Client, response: httpx.Response) -> Response[Vol
|
|
|
54
54
|
|
|
55
55
|
def sync_detailed(
|
|
56
56
|
*,
|
|
57
|
-
client:
|
|
57
|
+
client: Client,
|
|
58
58
|
body: Volume,
|
|
59
59
|
) -> Response[Volume]:
|
|
60
60
|
"""Create volume
|
|
@@ -85,7 +85,7 @@ def sync_detailed(
|
|
|
85
85
|
|
|
86
86
|
def sync(
|
|
87
87
|
*,
|
|
88
|
-
client:
|
|
88
|
+
client: Client,
|
|
89
89
|
body: Volume,
|
|
90
90
|
) -> Volume | None:
|
|
91
91
|
"""Create volume
|
|
@@ -111,7 +111,7 @@ def sync(
|
|
|
111
111
|
|
|
112
112
|
async def asyncio_detailed(
|
|
113
113
|
*,
|
|
114
|
-
client:
|
|
114
|
+
client: Client,
|
|
115
115
|
body: Volume,
|
|
116
116
|
) -> Response[Volume]:
|
|
117
117
|
"""Create volume
|
|
@@ -140,7 +140,7 @@ async def asyncio_detailed(
|
|
|
140
140
|
|
|
141
141
|
async def asyncio(
|
|
142
142
|
*,
|
|
143
|
-
client:
|
|
143
|
+
client: Client,
|
|
144
144
|
body: Volume,
|
|
145
145
|
) -> Volume | None:
|
|
146
146
|
"""Create volume
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -43,7 +43,7 @@ def _build_response(*, client: Client, response: httpx.Response) -> Response[Vol
|
|
|
43
43
|
def sync_detailed(
|
|
44
44
|
volume_name: str,
|
|
45
45
|
*,
|
|
46
|
-
client:
|
|
46
|
+
client: Client,
|
|
47
47
|
) -> Response[Volume]:
|
|
48
48
|
"""Delete volume
|
|
49
49
|
|
|
@@ -74,7 +74,7 @@ def sync_detailed(
|
|
|
74
74
|
def sync(
|
|
75
75
|
volume_name: str,
|
|
76
76
|
*,
|
|
77
|
-
client:
|
|
77
|
+
client: Client,
|
|
78
78
|
) -> Volume | None:
|
|
79
79
|
"""Delete volume
|
|
80
80
|
|
|
@@ -100,7 +100,7 @@ def sync(
|
|
|
100
100
|
async def asyncio_detailed(
|
|
101
101
|
volume_name: str,
|
|
102
102
|
*,
|
|
103
|
-
client:
|
|
103
|
+
client: Client,
|
|
104
104
|
) -> Response[Volume]:
|
|
105
105
|
"""Delete volume
|
|
106
106
|
|
|
@@ -129,7 +129,7 @@ async def asyncio_detailed(
|
|
|
129
129
|
async def asyncio(
|
|
130
130
|
volume_name: str,
|
|
131
131
|
*,
|
|
132
|
-
client:
|
|
132
|
+
client: Client,
|
|
133
133
|
) -> Volume | None:
|
|
134
134
|
"""Delete volume
|
|
135
135
|
|