anthropic 0.58.2__tar.gz → 0.60.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {anthropic-0.58.2 → anthropic-0.60.0}/.gitignore +0 -1
- anthropic-0.60.0/.release-please-manifest.json +3 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/CHANGELOG.md +38 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/PKG-INFO +1 -1
- {anthropic-0.58.2 → anthropic-0.60.0}/pyproject.toml +1 -1
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_base_client.py +1 -1
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_models.py +24 -3
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_version.py +1 -1
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/vertex/_beta_messages.py +4 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/model.py +0 -3
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/model_param.py +0 -3
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/lib/test_bedrock.py +6 -6
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/test_models.py +28 -1
- {anthropic-0.58.2 → anthropic-0.60.0}/uv.lock +1 -1
- anthropic-0.58.2/.release-please-manifest.json +0 -3
- {anthropic-0.58.2 → anthropic-0.60.0}/CONTRIBUTING.md +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/LICENSE +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/README.md +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/SECURITY.md +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/api.md +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/bin/check-release-environment +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/bin/publish-pypi +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/examples/.keep +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/examples/batch_results.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/examples/bedrock.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/examples/images.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/examples/logo.png +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/examples/mcp.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/examples/messages.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/examples/messages_stream.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/examples/text_completions_demo_async.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/examples/text_completions_demo_sync.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/examples/text_completions_streaming.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/examples/thinking.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/examples/thinking_stream.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/examples/tools.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/examples/tools_stream.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/examples/vertex.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/examples/web_search.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/examples/web_search_stream.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/helpers.md +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/mypy.ini +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/release-please-config.json +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/requirements-dev.lock +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_client.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_compat.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_constants.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_decoders/jsonl.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_exceptions.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_files.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_legacy_response.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_qs.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_resource.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_response.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_streaming.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_types.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_utils/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_utils/_httpx.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_utils/_logs.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_utils/_proxy.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_utils/_reflection.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_utils/_resources_proxy.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_utils/_streams.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_utils/_sync.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_utils/_transform.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_utils/_typing.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/_utils/_utils.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/.keep +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/_extras/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/_extras/_common.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/_extras/_google_auth.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/bedrock/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/bedrock/_auth.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/bedrock/_beta.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/bedrock/_beta_messages.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/bedrock/_client.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/bedrock/_stream.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/bedrock/_stream_decoder.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/streaming/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/streaming/_beta_messages.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/streaming/_beta_types.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/streaming/_messages.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/streaming/_types.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/vertex/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/vertex/_auth.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/vertex/_beta.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/lib/vertex/_client.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/pagination.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/py.typed +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/resources/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/resources/beta/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/resources/beta/beta.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/resources/beta/files.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/resources/beta/messages/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/resources/beta/messages/batches.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/resources/beta/messages/messages.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/resources/beta/models.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/resources/completions.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/resources/messages/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/resources/messages/batches.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/resources/messages/messages.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/resources/models.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/anthropic_beta_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/base64_image_source_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/base64_pdf_source_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_base64_image_source_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_base64_pdf_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_base64_pdf_source_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_cache_control_ephemeral_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_cache_creation.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_citation_char_location.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_citation_char_location_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_citation_content_block_location.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_citation_content_block_location_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_citation_page_location.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_citation_page_location_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_citation_search_result_location.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_citation_search_result_location_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_citation_web_search_result_location_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_citations_config_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_citations_delta.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_citations_web_search_result_location.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_code_execution_output_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_code_execution_output_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_code_execution_result_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_code_execution_result_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_code_execution_tool_20250522_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block_content.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block_param_content_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_code_execution_tool_result_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_code_execution_tool_result_error_code.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_code_execution_tool_result_error_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_container.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_container_upload_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_container_upload_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_content_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_content_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_content_block_source_content_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_content_block_source_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_file_document_source_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_file_image_source_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_image_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_input_json_delta.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_mcp_tool_result_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_mcp_tool_use_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_mcp_tool_use_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_message.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_message_delta_usage.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_message_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_message_tokens_count.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_metadata_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_model_info.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_plain_text_source_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_raw_content_block_delta.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_raw_content_block_delta_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_raw_content_block_start_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_raw_content_block_stop_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_raw_message_delta_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_raw_message_start_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_raw_message_stop_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_raw_message_stream_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_redacted_thinking_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_redacted_thinking_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_request_document_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_request_mcp_server_tool_configuration_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_request_mcp_server_url_definition_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_request_mcp_tool_result_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_search_result_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_server_tool_usage.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_server_tool_use_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_server_tool_use_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_signature_delta.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_stop_reason.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_text_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_text_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_text_citation.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_text_citation_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_text_delta.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_thinking_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_thinking_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_thinking_config_disabled_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_thinking_config_enabled_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_thinking_config_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_thinking_delta.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_tool_bash_20241022_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_tool_bash_20250124_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_tool_choice_any_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_tool_choice_auto_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_tool_choice_none_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_tool_choice_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_tool_choice_tool_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_tool_computer_use_20241022_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_tool_computer_use_20250124_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_tool_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_tool_result_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_tool_text_editor_20241022_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_tool_text_editor_20250124_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_tool_text_editor_20250429_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_tool_union_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_tool_use_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_tool_use_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_url_image_source_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_url_pdf_source_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_usage.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_web_search_result_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_web_search_result_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_web_search_tool_20250305_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_web_search_tool_request_error_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_web_search_tool_result_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_web_search_tool_result_block_content.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_web_search_tool_result_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_web_search_tool_result_block_param_content_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_web_search_tool_result_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_web_search_tool_result_error_code.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/deleted_file.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/file_list_params.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/file_metadata.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/file_upload_params.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/message_count_tokens_params.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/message_create_params.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/messages/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/messages/batch_create_params.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/messages/batch_list_params.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/messages/beta_deleted_message_batch.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/messages/beta_message_batch.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/messages/beta_message_batch_canceled_result.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/messages/beta_message_batch_errored_result.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/messages/beta_message_batch_expired_result.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/messages/beta_message_batch_individual_response.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/messages/beta_message_batch_request_counts.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/messages/beta_message_batch_result.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/messages/beta_message_batch_succeeded_result.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/model_list_params.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta_api_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta_authentication_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta_billing_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta_error_response.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta_gateway_timeout_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta_invalid_request_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta_not_found_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta_overloaded_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta_permission_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta_rate_limit_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/cache_control_ephemeral_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/citation_char_location.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/citation_char_location_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/citation_content_block_location.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/citation_content_block_location_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/citation_page_location.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/citation_page_location_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/citation_web_search_result_location_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/citations_config_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/citations_delta.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/citations_web_search_result_location.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/completion.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/completion_create_params.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/content_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/content_block_delta_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/content_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/content_block_source_content_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/content_block_source_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/content_block_start_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/content_block_stop_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/document_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/image_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/input_json_delta.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/message.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/message_count_tokens_params.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/message_count_tokens_tool_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/message_create_params.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/message_delta_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/message_delta_usage.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/message_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/message_start_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/message_stop_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/message_stream_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/message_tokens_count.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/messages/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/messages/batch_create_params.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/messages/batch_list_params.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/messages/deleted_message_batch.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/messages/message_batch.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/messages/message_batch_canceled_result.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/messages/message_batch_errored_result.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/messages/message_batch_expired_result.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/messages/message_batch_individual_response.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/messages/message_batch_request_counts.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/messages/message_batch_result.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/messages/message_batch_succeeded_result.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/metadata_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/model_info.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/model_list_params.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/plain_text_source_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/raw_content_block_delta.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/raw_content_block_delta_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/raw_content_block_start_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/raw_content_block_stop_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/raw_message_delta_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/raw_message_start_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/raw_message_stop_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/raw_message_stream_event.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/redacted_thinking_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/redacted_thinking_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/server_tool_usage.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/server_tool_use_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/server_tool_use_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/shared/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/shared/api_error_object.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/shared/authentication_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/shared/billing_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/shared/error_object.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/shared/error_response.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/shared/gateway_timeout_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/shared/invalid_request_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/shared/not_found_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/shared/overloaded_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/shared/permission_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/shared/rate_limit_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/signature_delta.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/stop_reason.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/text_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/text_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/text_citation.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/text_citation_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/text_delta.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/thinking_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/thinking_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/thinking_config_disabled_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/thinking_config_enabled_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/thinking_config_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/thinking_delta.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/tool_bash_20250124_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/tool_choice_any_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/tool_choice_auto_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/tool_choice_none_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/tool_choice_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/tool_choice_tool_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/tool_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/tool_result_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/tool_text_editor_20250124_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/tool_union_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/tool_use_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/tool_use_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/url_image_source_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/url_pdf_source_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/usage.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/web_search_result_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/web_search_result_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/web_search_tool_20250305_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/web_search_tool_request_error_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/web_search_tool_result_block.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/web_search_tool_result_block_content.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/web_search_tool_result_block_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/web_search_tool_result_block_param_content_param.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/web_search_tool_result_error.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/api_resources/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/api_resources/beta/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/api_resources/beta/messages/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/api_resources/beta/messages/test_batches.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/api_resources/beta/test_files.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/api_resources/beta/test_messages.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/api_resources/beta/test_models.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/api_resources/messages/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/api_resources/messages/test_batches.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/api_resources/test_completions.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/api_resources/test_messages.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/api_resources/test_models.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/conftest.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/decoders/test_jsonl.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/lib/streaming/__init__.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/lib/streaming/fixtures/basic_response.txt +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/lib/streaming/fixtures/incomplete_partial_json_response.txt +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/lib/streaming/fixtures/tool_use_response.txt +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/lib/streaming/helpers.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/lib/streaming/test_beta_messages.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/lib/streaming/test_messages.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/lib/streaming/test_partial_json.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/lib/test_vertex.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/sample_file.txt +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/test_client.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/test_deepcopy.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/test_extract_files.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/test_files.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/test_legacy_response.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/test_qs.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/test_required_args.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/test_response.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/test_streaming.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/test_transform.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/test_utils/test_proxy.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/test_utils/test_typing.py +0 -0
- {anthropic-0.58.2 → anthropic-0.60.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.60.0 (2025-07-28)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.59.0...v0.60.0](https://github.com/anthropics/anthropic-sdk-python/compare/v0.59.0...v0.60.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* update streaming error message to say 'required' not 'recommended' ([57120c8](https://github.com/anthropics/anthropic-sdk-python/commit/57120c8e0579ca3d3218ce043cc46c82345a925e))
|
|
10
|
+
* update streaming error message to say 'required' not 'recommended' ([3b47368](https://github.com/anthropics/anthropic-sdk-python/commit/3b47368ca00a51bc4876066af502b0a21a6b6a60))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **vertex:** add missing beta methods ([#1004](https://github.com/anthropics/anthropic-sdk-python/issues/1004)) ([f8e9cb4](https://github.com/anthropics/anthropic-sdk-python/commit/f8e9cb40b1832eaa7f319d8b051b258a7320cbd4))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Chores
|
|
19
|
+
|
|
20
|
+
* **project:** add settings file for vscode ([1c4a9b1](https://github.com/anthropics/anthropic-sdk-python/commit/1c4a9b17e39e76c7260b44b6b666dbf2450a6d19))
|
|
21
|
+
|
|
22
|
+
## 0.59.0 (2025-07-23)
|
|
23
|
+
|
|
24
|
+
Full Changelog: [v0.58.2...v0.59.0](https://github.com/anthropics/anthropic-sdk-python/compare/v0.58.2...v0.59.0)
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* **api:** removed older deprecated models ([38998fd](https://github.com/anthropics/anthropic-sdk-python/commit/38998fdab79b62349481c9c49579a825a5a33761))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* **parsing:** ignore empty metadata ([7099f32](https://github.com/anthropics/anthropic-sdk-python/commit/7099f32a401b1f2a08b358562e325571a5fce8f6))
|
|
34
|
+
* **parsing:** parse extra field types ([dbea8a4](https://github.com/anthropics/anthropic-sdk-python/commit/dbea8a40469c30533e30dc1762bfba83159f090d))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Chores
|
|
38
|
+
|
|
39
|
+
* **internal:** version bump ([5defffa](https://github.com/anthropics/anthropic-sdk-python/commit/5defffa3ab4b0299759f2a45ffa3f7a49e8c2ba5))
|
|
40
|
+
|
|
3
41
|
## 0.58.2 (2025-07-18)
|
|
4
42
|
|
|
5
43
|
Full Changelog: [v0.58.1...v0.58.2](https://github.com/anthropics/anthropic-sdk-python/compare/v0.58.1...v0.58.2)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: anthropic
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.60.0
|
|
4
4
|
Summary: The official Python library for the anthropic API
|
|
5
5
|
Project-URL: Homepage, https://github.com/anthropics/anthropic-sdk-python
|
|
6
6
|
Project-URL: Repository, https://github.com/anthropics/anthropic-sdk-python
|
|
@@ -704,7 +704,7 @@ class BaseClient(Generic[_HttpxClientT, _DefaultStreamT]):
|
|
|
704
704
|
expected_time = maximum_time * max_tokens / 128_000
|
|
705
705
|
if expected_time > default_time or (max_nonstreaming_tokens and max_tokens > max_nonstreaming_tokens):
|
|
706
706
|
raise ValueError(
|
|
707
|
-
"Streaming is
|
|
707
|
+
"Streaming is required for operations that may take longer than 10 minutes. "
|
|
708
708
|
+ "See https://github.com/anthropics/anthropic-sdk-python#long-requests for more details",
|
|
709
709
|
)
|
|
710
710
|
return Timeout(
|
|
@@ -224,14 +224,18 @@ class BaseModel(pydantic.BaseModel):
|
|
|
224
224
|
else:
|
|
225
225
|
fields_values[name] = field_get_default(field)
|
|
226
226
|
|
|
227
|
+
extra_field_type = _get_extra_fields_type(__cls)
|
|
228
|
+
|
|
227
229
|
_extra = {}
|
|
228
230
|
for key, value in values.items():
|
|
229
231
|
if key not in model_fields:
|
|
232
|
+
parsed = construct_type(value=value, type_=extra_field_type) if extra_field_type is not None else value
|
|
233
|
+
|
|
230
234
|
if PYDANTIC_V2:
|
|
231
|
-
_extra[key] =
|
|
235
|
+
_extra[key] = parsed
|
|
232
236
|
else:
|
|
233
237
|
_fields_set.add(key)
|
|
234
|
-
fields_values[key] =
|
|
238
|
+
fields_values[key] = parsed
|
|
235
239
|
|
|
236
240
|
object.__setattr__(m, "__dict__", fields_values)
|
|
237
241
|
|
|
@@ -386,6 +390,23 @@ def _construct_field(value: object, field: FieldInfo, key: str) -> object:
|
|
|
386
390
|
return construct_type(value=value, type_=type_, metadata=getattr(field, "metadata", None))
|
|
387
391
|
|
|
388
392
|
|
|
393
|
+
def _get_extra_fields_type(cls: type[pydantic.BaseModel]) -> type | None:
|
|
394
|
+
if not PYDANTIC_V2:
|
|
395
|
+
# TODO
|
|
396
|
+
return None
|
|
397
|
+
|
|
398
|
+
schema = cls.__pydantic_core_schema__
|
|
399
|
+
if schema["type"] == "model":
|
|
400
|
+
fields = schema["schema"]
|
|
401
|
+
if fields["type"] == "model-fields":
|
|
402
|
+
extras = fields.get("extras_schema")
|
|
403
|
+
if extras and "cls" in extras:
|
|
404
|
+
# mypy can't narrow the type
|
|
405
|
+
return extras["cls"] # type: ignore[no-any-return]
|
|
406
|
+
|
|
407
|
+
return None
|
|
408
|
+
|
|
409
|
+
|
|
389
410
|
def is_basemodel(type_: type) -> bool:
|
|
390
411
|
"""Returns whether or not the given type is either a `BaseModel` or a union of `BaseModel`"""
|
|
391
412
|
if is_union(type_):
|
|
@@ -455,7 +476,7 @@ def construct_type(*, value: object, type_: object, metadata: Optional[List[Any]
|
|
|
455
476
|
type_ = type_.__value__ # type: ignore[unreachable]
|
|
456
477
|
|
|
457
478
|
# unwrap `Annotated[T, ...]` -> `T`
|
|
458
|
-
if metadata is not None:
|
|
479
|
+
if metadata is not None and len(metadata) > 0:
|
|
459
480
|
meta: tuple[Any, ...] = tuple(metadata)
|
|
460
481
|
elif is_annotated_type(type_):
|
|
461
482
|
meta = get_args(type_)[1:]
|
|
@@ -13,6 +13,8 @@ __all__ = ["Messages", "AsyncMessages"]
|
|
|
13
13
|
|
|
14
14
|
class Messages(SyncAPIResource):
|
|
15
15
|
create = FirstPartyMessagesAPI.create
|
|
16
|
+
stream = FirstPartyMessagesAPI.stream
|
|
17
|
+
count_tokens = FirstPartyMessagesAPI.count_tokens
|
|
16
18
|
|
|
17
19
|
@cached_property
|
|
18
20
|
def with_raw_response(self) -> MessagesWithRawResponse:
|
|
@@ -36,6 +38,8 @@ class Messages(SyncAPIResource):
|
|
|
36
38
|
|
|
37
39
|
class AsyncMessages(AsyncAPIResource):
|
|
38
40
|
create = FirstPartyAsyncMessagesAPI.create
|
|
41
|
+
stream = FirstPartyAsyncMessagesAPI.stream
|
|
42
|
+
count_tokens = FirstPartyAsyncMessagesAPI.count_tokens
|
|
39
43
|
|
|
40
44
|
@cached_property
|
|
41
45
|
def with_raw_response(self) -> AsyncMessagesWithRawResponse:
|
|
@@ -79,7 +79,7 @@ def test_messages_retries(respx_mock: MockRouter) -> None:
|
|
|
79
79
|
"content": "Say hello there!",
|
|
80
80
|
}
|
|
81
81
|
],
|
|
82
|
-
model="anthropic.claude-3-sonnet-
|
|
82
|
+
model="anthropic.claude-3-5-sonnet-20241022-v2:0",
|
|
83
83
|
)
|
|
84
84
|
|
|
85
85
|
calls = cast("list[MockRequestCall]", respx_mock.calls)
|
|
@@ -88,11 +88,11 @@ def test_messages_retries(respx_mock: MockRouter) -> None:
|
|
|
88
88
|
|
|
89
89
|
assert (
|
|
90
90
|
calls[0].request.url
|
|
91
|
-
== "https://bedrock-runtime.us-east-1.amazonaws.com/model/anthropic.claude-3-sonnet-
|
|
91
|
+
== "https://bedrock-runtime.us-east-1.amazonaws.com/model/anthropic.claude-3-5-sonnet-20241022-v2:0/invoke"
|
|
92
92
|
)
|
|
93
93
|
assert (
|
|
94
94
|
calls[1].request.url
|
|
95
|
-
== "https://bedrock-runtime.us-east-1.amazonaws.com/model/anthropic.claude-3-sonnet-
|
|
95
|
+
== "https://bedrock-runtime.us-east-1.amazonaws.com/model/anthropic.claude-3-5-sonnet-20241022-v2:0/invoke"
|
|
96
96
|
)
|
|
97
97
|
|
|
98
98
|
|
|
@@ -115,7 +115,7 @@ async def test_messages_retries_async(respx_mock: MockRouter) -> None:
|
|
|
115
115
|
"content": "Say hello there!",
|
|
116
116
|
}
|
|
117
117
|
],
|
|
118
|
-
model="anthropic.claude-3-sonnet-
|
|
118
|
+
model="anthropic.claude-3-5-sonnet-20241022-v2:0",
|
|
119
119
|
)
|
|
120
120
|
|
|
121
121
|
calls = cast("list[MockRequestCall]", respx_mock.calls)
|
|
@@ -124,11 +124,11 @@ async def test_messages_retries_async(respx_mock: MockRouter) -> None:
|
|
|
124
124
|
|
|
125
125
|
assert (
|
|
126
126
|
calls[0].request.url
|
|
127
|
-
== "https://bedrock-runtime.us-east-1.amazonaws.com/model/anthropic.claude-3-sonnet-
|
|
127
|
+
== "https://bedrock-runtime.us-east-1.amazonaws.com/model/anthropic.claude-3-5-sonnet-20241022-v2:0/invoke"
|
|
128
128
|
)
|
|
129
129
|
assert (
|
|
130
130
|
calls[1].request.url
|
|
131
|
-
== "https://bedrock-runtime.us-east-1.amazonaws.com/model/anthropic.claude-3-sonnet-
|
|
131
|
+
== "https://bedrock-runtime.us-east-1.amazonaws.com/model/anthropic.claude-3-5-sonnet-20241022-v2:0/invoke"
|
|
132
132
|
)
|
|
133
133
|
|
|
134
134
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import json
|
|
2
|
-
from typing import Any, Dict, List, Union, Optional, cast
|
|
2
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Union, Optional, cast
|
|
3
3
|
from datetime import datetime, timezone
|
|
4
4
|
from typing_extensions import Literal, Annotated, TypeAliasType
|
|
5
5
|
|
|
@@ -934,3 +934,30 @@ def test_nested_discriminated_union() -> None:
|
|
|
934
934
|
)
|
|
935
935
|
assert isinstance(model, Type1)
|
|
936
936
|
assert isinstance(model.value, InnerType2)
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
@pytest.mark.skipif(not PYDANTIC_V2, reason="this is only supported in pydantic v2 for now")
|
|
940
|
+
def test_extra_properties() -> None:
|
|
941
|
+
class Item(BaseModel):
|
|
942
|
+
prop: int
|
|
943
|
+
|
|
944
|
+
class Model(BaseModel):
|
|
945
|
+
__pydantic_extra__: Dict[str, Item] = Field(init=False) # pyright: ignore[reportIncompatibleVariableOverride]
|
|
946
|
+
|
|
947
|
+
other: str
|
|
948
|
+
|
|
949
|
+
if TYPE_CHECKING:
|
|
950
|
+
|
|
951
|
+
def __getattr__(self, attr: str) -> Item: ...
|
|
952
|
+
|
|
953
|
+
model = construct_type(
|
|
954
|
+
type_=Model,
|
|
955
|
+
value={
|
|
956
|
+
"a": {"prop": 1},
|
|
957
|
+
"other": "foo",
|
|
958
|
+
},
|
|
959
|
+
)
|
|
960
|
+
assert isinstance(model, Model)
|
|
961
|
+
assert model.a.prop == 1
|
|
962
|
+
assert isinstance(model.a, Item)
|
|
963
|
+
assert model.other == "foo"
|
|
@@ -295,7 +295,7 @@ wheels = [
|
|
|
295
295
|
|
|
296
296
|
[[package]]
|
|
297
297
|
name = "anthropic"
|
|
298
|
-
version = "0.
|
|
298
|
+
version = "0.59.0"
|
|
299
299
|
source = { editable = "." }
|
|
300
300
|
dependencies = [
|
|
301
301
|
{ name = "anyio", version = "4.5.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" },
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_base64_image_source_param.py
RENAMED
|
File without changes
|
{anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_base64_pdf_block_param.py
RENAMED
|
File without changes
|
{anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_base64_pdf_source_param.py
RENAMED
|
File without changes
|
{anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_cache_control_ephemeral_param.py
RENAMED
|
File without changes
|
|
File without changes
|
{anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_citation_char_location.py
RENAMED
|
File without changes
|
{anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_citation_char_location_param.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_citation_page_location.py
RENAMED
|
File without changes
|
{anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_citation_page_location_param.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_citations_config_param.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_code_execution_output_block.py
RENAMED
|
File without changes
|
|
File without changes
|
{anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_code_execution_result_block.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{anthropic-0.58.2 → anthropic-0.60.0}/src/anthropic/types/beta/beta_container_upload_block.py
RENAMED
|
File without changes
|