archil-openapi 0.0.65__tar.gz → 0.0.66__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.
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/PKG-INFO +1 -1
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/pyproject.toml +1 -1
- archil_openapi-0.0.66/src/archil_openapi/api/disks/prefetch_disk.py +229 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/__init__.py +12 -0
- archil_openapi-0.0.66/src/archil_openapi/models/api_response_prefetch.py +73 -0
- archil_openapi-0.0.66/src/archil_openapi/models/api_response_prefetch_data.py +73 -0
- archil_openapi-0.0.66/src/archil_openapi/models/prefetch_range.py +60 -0
- archil_openapi-0.0.66/src/archil_openapi/models/prefetch_range_result.py +95 -0
- archil_openapi-0.0.66/src/archil_openapi/models/prefetch_range_result_error.py +9 -0
- archil_openapi-0.0.66/src/archil_openapi/models/prefetch_request.py +54 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/LICENSE +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/README.md +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/__init__.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/__init__.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/activity/__init__.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/activity/list_activity.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/api_tokens/__init__.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/api_tokens/create_api_token.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/api_tokens/delete_api_token.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/api_tokens/list_api_tokens.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/__init__.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/cancel_billing_subscription.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/change_billing_subscription.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/create_billing_setup_intent.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/create_billing_subscription.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/delete_billing_payment_method.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/get_billing_credits.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/get_billing_invoice.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/get_billing_operation.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/get_billing_profile.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/get_billing_subscription.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/get_billing_summary.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/get_billing_usage.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/keep_billing_subscription.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/list_billing_invoices.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/list_billing_payment_methods.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/pay_billing_invoice.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/preview_billing_subscription.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/set_billing_default_payment_method.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/update_billing_payment_method.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/update_billing_profile.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/billing/withdraw_billing_scheduled_change.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disk_configuration/__init__.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disk_configuration/get_allowed_i_ps.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disk_configuration/get_sandbox_mount.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disk_configuration/list_delegations.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disk_configuration/revoke_delegation.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disk_configuration/set_allowed_i_ps.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disk_configuration/set_sandbox_mount.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disk_users/__init__.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disk_users/add_disk_user.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disk_users/remove_disk_user.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disks/__init__.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disks/create_branch.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disks/create_disk.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disks/create_share_url.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disks/delete_disk.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disks/exec_.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disks/exec_disk.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disks/get_branch.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disks/get_disk.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disks/grep_disk.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disks/list_branches.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/disks/list_disks.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/__init__.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/create_image.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/create_sandbox.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/create_sandbox_connection.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/create_sandbox_port_token.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/delete_sandbox.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/delete_sandbox_port.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/delete_sandbox_port_token.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/expose_sandbox_port.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/fork_sandbox.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/get_image.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/get_sandbox.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/get_sandbox_network.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/get_sandbox_port_token.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/list_sandbox_port_tokens.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/list_sandbox_ports.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/list_sandboxes.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/pause_sandbox.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/resume_sandbox.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/set_sandbox_timeout.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/start_sandbox.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/stop_sandbox.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/sandboxes/update_sandbox_network.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/client.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/errors.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/activity_event.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/activity_event_details.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/activity_event_level.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_activity_list.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_allowed_i_ps.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_allowed_i_ps_data.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_authorized_user.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_cancellation.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_credits.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_default_payment_method.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_default_payment_method_data.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_default_payment_method_data_scope.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_invoice_detail.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_invoices.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_method_removed.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_method_removed_data.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_operation.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_payment_method.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_payment_methods.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_profile.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_setup_intent.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_setup_intent_data.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_subscription.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_subscription_preview.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_subscription_state.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_summary.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_billing_usage.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_create_disk.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_create_disk_data.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_created_sandbox_port_token.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_delegations.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_delegations_data.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_disk.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_disk_list.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_empty.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_exec.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_exec_disk.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_grep_disk.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_image.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_message.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_message_data.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_sandbox.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_sandbox_connection.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_sandbox_list.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_sandbox_list_data.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_sandbox_mount.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_sandbox_mount_data.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_sandbox_network.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_sandbox_port.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_sandbox_port_list.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_sandbox_port_token.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_sandbox_port_token_list.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_share_url.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_share_url_data.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_token_created.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_token_created_data.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_token_list.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_response_token_list_data.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/api_token_response.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/authorized_user.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/authorized_user_status.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/authorized_user_type.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/aws_sts_user.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/aws_sts_user_type.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/azure_blob_storage.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/azure_blob_storage_type.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_address.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_address_patch.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_balance_transaction.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_cancel_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_cancel_request_reason.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_cancel_request_reason_feedback.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_cancel_request_timing.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_cancellation.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_cancellation_settlement.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_cancellation_settlement_method.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_change_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_change_request_plan.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_change_request_timing.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_credit_grant.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_credit_note.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_credits.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_invoice_credit.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_invoice_detail.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_invoice_line.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_invoice_summary.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_invoice_tax.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_issued_invoice.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_issued_invoice_status.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_keep_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_line.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_line_type.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_next_action.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_next_action_type.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_operation.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_operation_failure.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_operation_invoice.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_operation_plan.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_operation_state.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_operation_status.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_operation_type.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_owner.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_owner_type.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_pay_invoice_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_payment_health.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_payment_health_status.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_payment_method.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_payment_method_billing_details.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_payment_method_card.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_period.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_preview_line.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_preview_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_preview_request_plan.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_preview_request_timing.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_profile.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_profile_billing_mode.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_profile_validation_error.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_profile_validation_error_code.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_profile_validation_error_data.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_profile_validation_error_data_field_errors.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_recurring_price.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_recurring_price_component.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_recurring_price_usage_type.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_scheduled_change.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_scheduled_change_target_plan.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_scheduled_change_type.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_state_conflict.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_subscribe_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_subscribe_request_plan.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_subscription.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_subscription_actions.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_subscription_billing_mode.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_subscription_plan.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_subscription_preview.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_subscription_preview_current_plan.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_subscription_preview_kind.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_subscription_preview_qualifications_item.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_subscription_preview_target_plan.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_subscription_preview_timing.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_subscription_state.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_subscription_state_plan.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_subscription_state_subscription_status.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_subscription_subscription_status.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_summary.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_summary_plan.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_summary_projection.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_usage.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_usage_granularity.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_usage_interval.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_usage_interval_features.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_usage_quantity.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_usage_rates_per_unit.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_usage_window.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/billing_usage_window_features.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/branch_api_response.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/branch_list_api_response.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/branch_response.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/cloudflare_r2.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/cloudflare_r2_type.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/connected_client.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/create_api_token_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/create_branch_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/create_disk_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/create_image_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/create_sandbox_port_token_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/create_sandbox_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/create_sandbox_request_env.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/create_share_url_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/created_sandbox_port_token.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/delegation_entry.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/disk_metrics.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/disk_response.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/disk_response_capabilities_item.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/disk_response_status.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/error_response.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/exec_disk_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/exec_disk_result.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/exec_mount.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/exec_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/exec_request_disks.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/exec_timing.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/fork_sandbox_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/get_billing_usage_for.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/get_billing_usage_granularity.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/google_cloud_storage.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/google_cloud_storage_type.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/grep_disk_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/grep_disk_result.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/grep_group.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/grep_group_line.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/grep_match.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/grep_stopped_reason.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/image.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/image_failure_reason.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/image_state.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/list_activity_level_item.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/mount_config_response.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/mount_response.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/mount_response_access_mode.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/mount_response_authorization_type.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/mount_response_connection_status.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/mount_response_type.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/registry_auth.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/remove_disk_user_user_type.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/revoke_delegation_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/root_attrs.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/s3.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/s3_compatible.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/s3_compatible_type.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/s3_type.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/sandbox.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/sandbox_connection.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/sandbox_egress_policy.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/sandbox_egress_rule.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/sandbox_egress_transform.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/sandbox_egress_transform_headers.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/sandbox_endpoint.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/sandbox_mount.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/sandbox_network.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/sandbox_network_action.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/sandbox_platform.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/sandbox_port.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/sandbox_port_list.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/sandbox_port_token.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/sandbox_port_token_list.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/sandbox_state.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/sandbox_timeout_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/set_allowed_i_ps_body.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/set_billing_default_payment_method_body.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/set_sandbox_mount_body.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/start_sandbox_request.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/token_user.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/token_user_type.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/update_billing_payment_method_body.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/models/update_billing_profile_body.py +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/py.typed +0 -0
- {archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/types.py +0 -0
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Optional, Union
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...models.api_response_prefetch import ApiResponsePrefetch
|
|
9
|
+
from ...models.error_response import ErrorResponse
|
|
10
|
+
from ...models.prefetch_request import PrefetchRequest
|
|
11
|
+
from ...types import Response
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def _get_kwargs(
|
|
15
|
+
id: str,
|
|
16
|
+
*,
|
|
17
|
+
body: PrefetchRequest,
|
|
18
|
+
) -> dict[str, Any]:
|
|
19
|
+
headers: dict[str, Any] = {}
|
|
20
|
+
|
|
21
|
+
_kwargs: dict[str, Any] = {
|
|
22
|
+
"method": "post",
|
|
23
|
+
"url": "/api/disks/{id}/prefetch".format(
|
|
24
|
+
id=id,
|
|
25
|
+
),
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
_kwargs["json"] = body.to_dict()
|
|
29
|
+
|
|
30
|
+
headers["Content-Type"] = "application/json"
|
|
31
|
+
|
|
32
|
+
_kwargs["headers"] = headers
|
|
33
|
+
return _kwargs
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
def _parse_response(
|
|
37
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
38
|
+
) -> Optional[Union[ApiResponsePrefetch, ErrorResponse]]:
|
|
39
|
+
if response.status_code == 200:
|
|
40
|
+
response_200 = ApiResponsePrefetch.from_dict(response.json())
|
|
41
|
+
|
|
42
|
+
return response_200
|
|
43
|
+
|
|
44
|
+
if response.status_code == 400:
|
|
45
|
+
response_400 = ErrorResponse.from_dict(response.json())
|
|
46
|
+
|
|
47
|
+
return response_400
|
|
48
|
+
|
|
49
|
+
if response.status_code == 401:
|
|
50
|
+
response_401 = ErrorResponse.from_dict(response.json())
|
|
51
|
+
|
|
52
|
+
return response_401
|
|
53
|
+
|
|
54
|
+
if response.status_code == 404:
|
|
55
|
+
response_404 = ErrorResponse.from_dict(response.json())
|
|
56
|
+
|
|
57
|
+
return response_404
|
|
58
|
+
|
|
59
|
+
if response.status_code == 500:
|
|
60
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
61
|
+
|
|
62
|
+
return response_500
|
|
63
|
+
|
|
64
|
+
if response.status_code == 503:
|
|
65
|
+
response_503 = ErrorResponse.from_dict(response.json())
|
|
66
|
+
|
|
67
|
+
return response_503
|
|
68
|
+
|
|
69
|
+
if client.raise_on_unexpected_status:
|
|
70
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
71
|
+
else:
|
|
72
|
+
return None
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def _build_response(
|
|
76
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
77
|
+
) -> Response[Union[ApiResponsePrefetch, ErrorResponse]]:
|
|
78
|
+
return Response(
|
|
79
|
+
status_code=HTTPStatus(response.status_code),
|
|
80
|
+
content=response.content,
|
|
81
|
+
headers=response.headers,
|
|
82
|
+
parsed=_parse_response(client=client, response=response),
|
|
83
|
+
)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
def sync_detailed(
|
|
87
|
+
id: str,
|
|
88
|
+
*,
|
|
89
|
+
client: AuthenticatedClient,
|
|
90
|
+
body: PrefetchRequest,
|
|
91
|
+
) -> Response[Union[ApiResponsePrefetch, ErrorResponse]]:
|
|
92
|
+
"""Prefetch file ranges
|
|
93
|
+
|
|
94
|
+
Warms byte ranges of files on a disk into Archil's cache, so later reads from any client are served
|
|
95
|
+
without going to object storage. Each range names one file and an optional offset and length; a file
|
|
96
|
+
may appear in several ranges. The response reports each range in request order and may arrive before
|
|
97
|
+
the data is fully fetched. Paths are relative to the disk root. A path that does not exist reports
|
|
98
|
+
`found: false`; a path that is not a regular file is found but warms nothing. If the disk is not
|
|
99
|
+
mounted anywhere, prefetching loads it.
|
|
100
|
+
|
|
101
|
+
Args:
|
|
102
|
+
id (str): Example: dsk-0123456789abcdef.
|
|
103
|
+
body (PrefetchRequest):
|
|
104
|
+
|
|
105
|
+
Raises:
|
|
106
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
107
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
108
|
+
|
|
109
|
+
Returns:
|
|
110
|
+
Response[Union[ApiResponsePrefetch, ErrorResponse]]
|
|
111
|
+
"""
|
|
112
|
+
|
|
113
|
+
kwargs = _get_kwargs(
|
|
114
|
+
id=id,
|
|
115
|
+
body=body,
|
|
116
|
+
)
|
|
117
|
+
|
|
118
|
+
response = client.get_httpx_client().request(
|
|
119
|
+
**kwargs,
|
|
120
|
+
)
|
|
121
|
+
|
|
122
|
+
return _build_response(client=client, response=response)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
def sync(
|
|
126
|
+
id: str,
|
|
127
|
+
*,
|
|
128
|
+
client: AuthenticatedClient,
|
|
129
|
+
body: PrefetchRequest,
|
|
130
|
+
) -> Optional[Union[ApiResponsePrefetch, ErrorResponse]]:
|
|
131
|
+
"""Prefetch file ranges
|
|
132
|
+
|
|
133
|
+
Warms byte ranges of files on a disk into Archil's cache, so later reads from any client are served
|
|
134
|
+
without going to object storage. Each range names one file and an optional offset and length; a file
|
|
135
|
+
may appear in several ranges. The response reports each range in request order and may arrive before
|
|
136
|
+
the data is fully fetched. Paths are relative to the disk root. A path that does not exist reports
|
|
137
|
+
`found: false`; a path that is not a regular file is found but warms nothing. If the disk is not
|
|
138
|
+
mounted anywhere, prefetching loads it.
|
|
139
|
+
|
|
140
|
+
Args:
|
|
141
|
+
id (str): Example: dsk-0123456789abcdef.
|
|
142
|
+
body (PrefetchRequest):
|
|
143
|
+
|
|
144
|
+
Raises:
|
|
145
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
146
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
147
|
+
|
|
148
|
+
Returns:
|
|
149
|
+
Union[ApiResponsePrefetch, ErrorResponse]
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
return sync_detailed(
|
|
153
|
+
id=id,
|
|
154
|
+
client=client,
|
|
155
|
+
body=body,
|
|
156
|
+
).parsed
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
async def asyncio_detailed(
|
|
160
|
+
id: str,
|
|
161
|
+
*,
|
|
162
|
+
client: AuthenticatedClient,
|
|
163
|
+
body: PrefetchRequest,
|
|
164
|
+
) -> Response[Union[ApiResponsePrefetch, ErrorResponse]]:
|
|
165
|
+
"""Prefetch file ranges
|
|
166
|
+
|
|
167
|
+
Warms byte ranges of files on a disk into Archil's cache, so later reads from any client are served
|
|
168
|
+
without going to object storage. Each range names one file and an optional offset and length; a file
|
|
169
|
+
may appear in several ranges. The response reports each range in request order and may arrive before
|
|
170
|
+
the data is fully fetched. Paths are relative to the disk root. A path that does not exist reports
|
|
171
|
+
`found: false`; a path that is not a regular file is found but warms nothing. If the disk is not
|
|
172
|
+
mounted anywhere, prefetching loads it.
|
|
173
|
+
|
|
174
|
+
Args:
|
|
175
|
+
id (str): Example: dsk-0123456789abcdef.
|
|
176
|
+
body (PrefetchRequest):
|
|
177
|
+
|
|
178
|
+
Raises:
|
|
179
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
180
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
181
|
+
|
|
182
|
+
Returns:
|
|
183
|
+
Response[Union[ApiResponsePrefetch, ErrorResponse]]
|
|
184
|
+
"""
|
|
185
|
+
|
|
186
|
+
kwargs = _get_kwargs(
|
|
187
|
+
id=id,
|
|
188
|
+
body=body,
|
|
189
|
+
)
|
|
190
|
+
|
|
191
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
192
|
+
|
|
193
|
+
return _build_response(client=client, response=response)
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
async def asyncio(
|
|
197
|
+
id: str,
|
|
198
|
+
*,
|
|
199
|
+
client: AuthenticatedClient,
|
|
200
|
+
body: PrefetchRequest,
|
|
201
|
+
) -> Optional[Union[ApiResponsePrefetch, ErrorResponse]]:
|
|
202
|
+
"""Prefetch file ranges
|
|
203
|
+
|
|
204
|
+
Warms byte ranges of files on a disk into Archil's cache, so later reads from any client are served
|
|
205
|
+
without going to object storage. Each range names one file and an optional offset and length; a file
|
|
206
|
+
may appear in several ranges. The response reports each range in request order and may arrive before
|
|
207
|
+
the data is fully fetched. Paths are relative to the disk root. A path that does not exist reports
|
|
208
|
+
`found: false`; a path that is not a regular file is found but warms nothing. If the disk is not
|
|
209
|
+
mounted anywhere, prefetching loads it.
|
|
210
|
+
|
|
211
|
+
Args:
|
|
212
|
+
id (str): Example: dsk-0123456789abcdef.
|
|
213
|
+
body (PrefetchRequest):
|
|
214
|
+
|
|
215
|
+
Raises:
|
|
216
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
217
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
218
|
+
|
|
219
|
+
Returns:
|
|
220
|
+
Union[ApiResponsePrefetch, ErrorResponse]
|
|
221
|
+
"""
|
|
222
|
+
|
|
223
|
+
return (
|
|
224
|
+
await asyncio_detailed(
|
|
225
|
+
id=id,
|
|
226
|
+
client=client,
|
|
227
|
+
body=body,
|
|
228
|
+
)
|
|
229
|
+
).parsed
|
|
@@ -41,6 +41,8 @@ from .api_response_grep_disk import ApiResponseGrepDisk
|
|
|
41
41
|
from .api_response_image import ApiResponseImage
|
|
42
42
|
from .api_response_message import ApiResponseMessage
|
|
43
43
|
from .api_response_message_data import ApiResponseMessageData
|
|
44
|
+
from .api_response_prefetch import ApiResponsePrefetch
|
|
45
|
+
from .api_response_prefetch_data import ApiResponsePrefetchData
|
|
44
46
|
from .api_response_sandbox import ApiResponseSandbox
|
|
45
47
|
from .api_response_sandbox_connection import ApiResponseSandboxConnection
|
|
46
48
|
from .api_response_sandbox_list import ApiResponseSandboxList
|
|
@@ -202,6 +204,10 @@ from .mount_response_access_mode import MountResponseAccessMode
|
|
|
202
204
|
from .mount_response_authorization_type import MountResponseAuthorizationType
|
|
203
205
|
from .mount_response_connection_status import MountResponseConnectionStatus
|
|
204
206
|
from .mount_response_type import MountResponseType
|
|
207
|
+
from .prefetch_range import PrefetchRange
|
|
208
|
+
from .prefetch_range_result import PrefetchRangeResult
|
|
209
|
+
from .prefetch_range_result_error import PrefetchRangeResultError
|
|
210
|
+
from .prefetch_request import PrefetchRequest
|
|
205
211
|
from .registry_auth import RegistryAuth
|
|
206
212
|
from .remove_disk_user_user_type import RemoveDiskUserUserType
|
|
207
213
|
from .revoke_delegation_request import RevokeDelegationRequest
|
|
@@ -278,6 +284,8 @@ __all__ = (
|
|
|
278
284
|
"ApiResponseImage",
|
|
279
285
|
"ApiResponseMessage",
|
|
280
286
|
"ApiResponseMessageData",
|
|
287
|
+
"ApiResponsePrefetch",
|
|
288
|
+
"ApiResponsePrefetchData",
|
|
281
289
|
"ApiResponseSandbox",
|
|
282
290
|
"ApiResponseSandboxConnection",
|
|
283
291
|
"ApiResponseSandboxList",
|
|
@@ -439,6 +447,10 @@ __all__ = (
|
|
|
439
447
|
"MountResponseAuthorizationType",
|
|
440
448
|
"MountResponseConnectionStatus",
|
|
441
449
|
"MountResponseType",
|
|
450
|
+
"PrefetchRange",
|
|
451
|
+
"PrefetchRangeResult",
|
|
452
|
+
"PrefetchRangeResultError",
|
|
453
|
+
"PrefetchRequest",
|
|
442
454
|
"RegistryAuth",
|
|
443
455
|
"RemoveDiskUserUserType",
|
|
444
456
|
"RevokeDelegationRequest",
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import TYPE_CHECKING, Any, TypeVar
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from ..models.api_response_prefetch_data import ApiResponsePrefetchData
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
T = TypeVar("T", bound="ApiResponsePrefetch")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@_attrs_define
|
|
15
|
+
class ApiResponsePrefetch:
|
|
16
|
+
"""
|
|
17
|
+
Attributes:
|
|
18
|
+
success (bool): Example: True.
|
|
19
|
+
data (ApiResponsePrefetchData):
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
success: bool
|
|
23
|
+
data: "ApiResponsePrefetchData"
|
|
24
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
25
|
+
|
|
26
|
+
def to_dict(self) -> dict[str, Any]:
|
|
27
|
+
success = self.success
|
|
28
|
+
|
|
29
|
+
data = self.data.to_dict()
|
|
30
|
+
|
|
31
|
+
field_dict: dict[str, Any] = {}
|
|
32
|
+
field_dict.update(self.additional_properties)
|
|
33
|
+
field_dict.update(
|
|
34
|
+
{
|
|
35
|
+
"success": success,
|
|
36
|
+
"data": data,
|
|
37
|
+
}
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
return field_dict
|
|
41
|
+
|
|
42
|
+
@classmethod
|
|
43
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
44
|
+
from ..models.api_response_prefetch_data import ApiResponsePrefetchData
|
|
45
|
+
|
|
46
|
+
d = dict(src_dict)
|
|
47
|
+
success = d.pop("success")
|
|
48
|
+
|
|
49
|
+
data = ApiResponsePrefetchData.from_dict(d.pop("data"))
|
|
50
|
+
|
|
51
|
+
api_response_prefetch = cls(
|
|
52
|
+
success=success,
|
|
53
|
+
data=data,
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
api_response_prefetch.additional_properties = d
|
|
57
|
+
return api_response_prefetch
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def additional_keys(self) -> list[str]:
|
|
61
|
+
return list(self.additional_properties.keys())
|
|
62
|
+
|
|
63
|
+
def __getitem__(self, key: str) -> Any:
|
|
64
|
+
return self.additional_properties[key]
|
|
65
|
+
|
|
66
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
67
|
+
self.additional_properties[key] = value
|
|
68
|
+
|
|
69
|
+
def __delitem__(self, key: str) -> None:
|
|
70
|
+
del self.additional_properties[key]
|
|
71
|
+
|
|
72
|
+
def __contains__(self, key: str) -> bool:
|
|
73
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import TYPE_CHECKING, Any, TypeVar
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from ..models.prefetch_range_result import PrefetchRangeResult
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
T = TypeVar("T", bound="ApiResponsePrefetchData")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@_attrs_define
|
|
15
|
+
class ApiResponsePrefetchData:
|
|
16
|
+
"""
|
|
17
|
+
Attributes:
|
|
18
|
+
results (list['PrefetchRangeResult']): One result per requested range, in request order.
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
results: list["PrefetchRangeResult"]
|
|
22
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
23
|
+
|
|
24
|
+
def to_dict(self) -> dict[str, Any]:
|
|
25
|
+
results = []
|
|
26
|
+
for results_item_data in self.results:
|
|
27
|
+
results_item = results_item_data.to_dict()
|
|
28
|
+
results.append(results_item)
|
|
29
|
+
|
|
30
|
+
field_dict: dict[str, Any] = {}
|
|
31
|
+
field_dict.update(self.additional_properties)
|
|
32
|
+
field_dict.update(
|
|
33
|
+
{
|
|
34
|
+
"results": results,
|
|
35
|
+
}
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
return field_dict
|
|
39
|
+
|
|
40
|
+
@classmethod
|
|
41
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
42
|
+
from ..models.prefetch_range_result import PrefetchRangeResult
|
|
43
|
+
|
|
44
|
+
d = dict(src_dict)
|
|
45
|
+
results = []
|
|
46
|
+
_results = d.pop("results")
|
|
47
|
+
for results_item_data in _results:
|
|
48
|
+
results_item = PrefetchRangeResult.from_dict(results_item_data)
|
|
49
|
+
|
|
50
|
+
results.append(results_item)
|
|
51
|
+
|
|
52
|
+
api_response_prefetch_data = cls(
|
|
53
|
+
results=results,
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
api_response_prefetch_data.additional_properties = d
|
|
57
|
+
return api_response_prefetch_data
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def additional_keys(self) -> list[str]:
|
|
61
|
+
return list(self.additional_properties.keys())
|
|
62
|
+
|
|
63
|
+
def __getitem__(self, key: str) -> Any:
|
|
64
|
+
return self.additional_properties[key]
|
|
65
|
+
|
|
66
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
67
|
+
self.additional_properties[key] = value
|
|
68
|
+
|
|
69
|
+
def __delitem__(self, key: str) -> None:
|
|
70
|
+
del self.additional_properties[key]
|
|
71
|
+
|
|
72
|
+
def __contains__(self, key: str) -> bool:
|
|
73
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar, Union
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
|
|
6
|
+
from ..types import UNSET, Unset
|
|
7
|
+
|
|
8
|
+
T = TypeVar("T", bound="PrefetchRange")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class PrefetchRange:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
path (str): File path relative to the disk root. Example: models/weights.bin.
|
|
16
|
+
offset (Union[Unset, int]): First byte to warm. Defaults to 0.
|
|
17
|
+
length (Union[Unset, int]): Bytes to warm from `offset`. Defaults to the end of the file.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
path: str
|
|
21
|
+
offset: Union[Unset, int] = UNSET
|
|
22
|
+
length: Union[Unset, int] = UNSET
|
|
23
|
+
|
|
24
|
+
def to_dict(self) -> dict[str, Any]:
|
|
25
|
+
path = self.path
|
|
26
|
+
|
|
27
|
+
offset = self.offset
|
|
28
|
+
|
|
29
|
+
length = self.length
|
|
30
|
+
|
|
31
|
+
field_dict: dict[str, Any] = {}
|
|
32
|
+
|
|
33
|
+
field_dict.update(
|
|
34
|
+
{
|
|
35
|
+
"path": path,
|
|
36
|
+
}
|
|
37
|
+
)
|
|
38
|
+
if offset is not UNSET:
|
|
39
|
+
field_dict["offset"] = offset
|
|
40
|
+
if length is not UNSET:
|
|
41
|
+
field_dict["length"] = length
|
|
42
|
+
|
|
43
|
+
return field_dict
|
|
44
|
+
|
|
45
|
+
@classmethod
|
|
46
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
47
|
+
d = dict(src_dict)
|
|
48
|
+
path = d.pop("path")
|
|
49
|
+
|
|
50
|
+
offset = d.pop("offset", UNSET)
|
|
51
|
+
|
|
52
|
+
length = d.pop("length", UNSET)
|
|
53
|
+
|
|
54
|
+
prefetch_range = cls(
|
|
55
|
+
path=path,
|
|
56
|
+
offset=offset,
|
|
57
|
+
length=length,
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
return prefetch_range
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar, Union
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
from ..models.prefetch_range_result_error import PrefetchRangeResultError
|
|
8
|
+
from ..types import UNSET, Unset
|
|
9
|
+
|
|
10
|
+
T = TypeVar("T", bound="PrefetchRangeResult")
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
@_attrs_define
|
|
14
|
+
class PrefetchRangeResult:
|
|
15
|
+
"""
|
|
16
|
+
Attributes:
|
|
17
|
+
found (bool): Whether the path exists.
|
|
18
|
+
bytes_requested (int): Bytes of the range being warmed, including bytes that were already cached.
|
|
19
|
+
bytes_warmed (int): Of `bytesRequested`, the bytes fetched (or still being fetched) from object storage.
|
|
20
|
+
error (Union[Unset, PrefetchRangeResultError]): Set when this range was not warmed: `retry` for a transient
|
|
21
|
+
failure worth retrying, `failed` otherwise. Other ranges in the request are unaffected.
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
found: bool
|
|
25
|
+
bytes_requested: int
|
|
26
|
+
bytes_warmed: int
|
|
27
|
+
error: Union[Unset, PrefetchRangeResultError] = UNSET
|
|
28
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
29
|
+
|
|
30
|
+
def to_dict(self) -> dict[str, Any]:
|
|
31
|
+
found = self.found
|
|
32
|
+
|
|
33
|
+
bytes_requested = self.bytes_requested
|
|
34
|
+
|
|
35
|
+
bytes_warmed = self.bytes_warmed
|
|
36
|
+
|
|
37
|
+
error: Union[Unset, str] = UNSET
|
|
38
|
+
if not isinstance(self.error, Unset):
|
|
39
|
+
error = self.error.value
|
|
40
|
+
|
|
41
|
+
field_dict: dict[str, Any] = {}
|
|
42
|
+
field_dict.update(self.additional_properties)
|
|
43
|
+
field_dict.update(
|
|
44
|
+
{
|
|
45
|
+
"found": found,
|
|
46
|
+
"bytesRequested": bytes_requested,
|
|
47
|
+
"bytesWarmed": bytes_warmed,
|
|
48
|
+
}
|
|
49
|
+
)
|
|
50
|
+
if error is not UNSET:
|
|
51
|
+
field_dict["error"] = error
|
|
52
|
+
|
|
53
|
+
return field_dict
|
|
54
|
+
|
|
55
|
+
@classmethod
|
|
56
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
57
|
+
d = dict(src_dict)
|
|
58
|
+
found = d.pop("found")
|
|
59
|
+
|
|
60
|
+
bytes_requested = d.pop("bytesRequested")
|
|
61
|
+
|
|
62
|
+
bytes_warmed = d.pop("bytesWarmed")
|
|
63
|
+
|
|
64
|
+
_error = d.pop("error", UNSET)
|
|
65
|
+
error: Union[Unset, PrefetchRangeResultError]
|
|
66
|
+
if isinstance(_error, Unset):
|
|
67
|
+
error = UNSET
|
|
68
|
+
else:
|
|
69
|
+
error = PrefetchRangeResultError(_error)
|
|
70
|
+
|
|
71
|
+
prefetch_range_result = cls(
|
|
72
|
+
found=found,
|
|
73
|
+
bytes_requested=bytes_requested,
|
|
74
|
+
bytes_warmed=bytes_warmed,
|
|
75
|
+
error=error,
|
|
76
|
+
)
|
|
77
|
+
|
|
78
|
+
prefetch_range_result.additional_properties = d
|
|
79
|
+
return prefetch_range_result
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def additional_keys(self) -> list[str]:
|
|
83
|
+
return list(self.additional_properties.keys())
|
|
84
|
+
|
|
85
|
+
def __getitem__(self, key: str) -> Any:
|
|
86
|
+
return self.additional_properties[key]
|
|
87
|
+
|
|
88
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
89
|
+
self.additional_properties[key] = value
|
|
90
|
+
|
|
91
|
+
def __delitem__(self, key: str) -> None:
|
|
92
|
+
del self.additional_properties[key]
|
|
93
|
+
|
|
94
|
+
def __contains__(self, key: str) -> bool:
|
|
95
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import TYPE_CHECKING, Any, TypeVar
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
|
|
6
|
+
if TYPE_CHECKING:
|
|
7
|
+
from ..models.prefetch_range import PrefetchRange
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
T = TypeVar("T", bound="PrefetchRequest")
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
@_attrs_define
|
|
14
|
+
class PrefetchRequest:
|
|
15
|
+
"""
|
|
16
|
+
Attributes:
|
|
17
|
+
ranges (list['PrefetchRange']): Byte ranges to warm. A request may name at most 1000.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
ranges: list["PrefetchRange"]
|
|
21
|
+
|
|
22
|
+
def to_dict(self) -> dict[str, Any]:
|
|
23
|
+
ranges = []
|
|
24
|
+
for ranges_item_data in self.ranges:
|
|
25
|
+
ranges_item = ranges_item_data.to_dict()
|
|
26
|
+
ranges.append(ranges_item)
|
|
27
|
+
|
|
28
|
+
field_dict: dict[str, Any] = {}
|
|
29
|
+
|
|
30
|
+
field_dict.update(
|
|
31
|
+
{
|
|
32
|
+
"ranges": ranges,
|
|
33
|
+
}
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
return field_dict
|
|
37
|
+
|
|
38
|
+
@classmethod
|
|
39
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
40
|
+
from ..models.prefetch_range import PrefetchRange
|
|
41
|
+
|
|
42
|
+
d = dict(src_dict)
|
|
43
|
+
ranges = []
|
|
44
|
+
_ranges = d.pop("ranges")
|
|
45
|
+
for ranges_item_data in _ranges:
|
|
46
|
+
ranges_item = PrefetchRange.from_dict(ranges_item_data)
|
|
47
|
+
|
|
48
|
+
ranges.append(ranges_item)
|
|
49
|
+
|
|
50
|
+
prefetch_request = cls(
|
|
51
|
+
ranges=ranges,
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
return prefetch_request
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/activity/list_activity.py
RENAMED
|
File without changes
|
{archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/api_tokens/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{archil_openapi-0.0.65 → archil_openapi-0.0.66}/src/archil_openapi/api/api_tokens/list_api_tokens.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|