MCPcopy Create free account

hub / github.com/anthropics/anthropic-sdk-python / functions

Functions1,183 in github.com/anthropics/anthropic-sdk-python

Functiontest_async_response_parse_mismatched_basemodel
(async_client: AsyncAnthropic)
tests/test_response.py:77
Functiontest_async_supports_anyio_path
()
tests/test_files.py:32
Functiontest_async_tuple_input
()
tests/test_files.py:39
Functiontest_base64_file_input
(use_async: bool)
tests/test_transform.py:410
Methodtest_base_url_env
(self)
tests/test_client.py:564
Methodtest_base_url_env
(self)
tests/test_client.py:1431
Methodtest_base_url_no_trailing_slash
(self, client: Anthropic)
tests/test_client.py:605
Methodtest_base_url_no_trailing_slash
(self, client: AsyncAnthropic)
tests/test_client.py:1476
Methodtest_base_url_setter
(self)
tests/test_client.py:556
Methodtest_base_url_setter
(self)
tests/test_client.py:1421
Methodtest_base_url_trailing_slash
(self, client: Anthropic)
tests/test_client.py:582
Methodtest_base_url_trailing_slash
(self, client: AsyncAnthropic)
tests/test_client.py:1451
Functiontest_basic
(value: object)
tests/test_models.py:20
Functiontest_basic
()
tests/test_qs.py:16
Functiontest_basic
(sync: bool, client: Anthropic, async_client: AsyncAnthropic)
tests/test_streaming.py:14
Functiontest_basic
(sync: bool)
tests/decoders/test_jsonl.py:15
Methodtest_basic_response
(self, respx_mock: MockRouter)
tests/lib/streaming/test_messages.py:95
Methodtest_basic_response
(self, respx_mock: MockRouter)
tests/lib/streaming/test_messages.py:150
Methodtest_basic_union_response
(self, respx_mock: MockRouter)
tests/test_client.py:500
Methodtest_basic_union_response
(self, respx_mock: MockRouter)
tests/test_client.py:1365
Methodtest_client_context_manager
(self)
tests/test_client.py:649
Methodtest_client_context_manager
(self)
tests/test_client.py:1523
Methodtest_client_max_retries_validation
(self)
tests/test_client.py:669
Methodtest_client_max_retries_validation
(self)
tests/test_client.py:1544
Methodtest_client_response_validation_error
(self, respx_mock: MockRouter)
tests/test_client.py:658
Methodtest_client_response_validation_error
(self, respx_mock: MockRouter)
tests/test_client.py:1533
Methodtest_client_timeout_option
(self)
tests/test_client.py:267
Methodtest_client_timeout_option
(self)
tests/test_client.py:1132
Functiontest_compat_method_no_error_for_warnings
()
tests/test_models.py:564
Functiontest_complex_nested_dict
()
tests/test_deepcopy.py:22
Methodtest_context_manager
(self, respx_mock: MockRouter)
tests/lib/streaming/test_messages.py:114
Methodtest_context_manager
(self, respx_mock: MockRouter)
tests/lib/streaming/test_messages.py:170
Methodtest_copied_client_does_not_close_http
(self)
tests/test_client.py:638
Methodtest_copied_client_does_not_close_http
(self)
tests/test_client.py:1511
Methodtest_copy
(self)
tests/test_client.py:84
Methodtest_copy
(self)
tests/test_client.py:949
Methodtest_copy
(self)
tests/lib/test_vertex.py:51
Methodtest_copy
(self)
tests/lib/test_vertex.py:155
Methodtest_copy_build_request
(self)
tests/test_client.py:194
Methodtest_copy_build_request
(self)
tests/test_client.py:1059
Methodtest_copy_default_headers
(self)
tests/test_client.py:108
Methodtest_copy_default_headers
(self)
tests/test_client.py:973
Methodtest_copy_default_headers
(self)
tests/lib/test_vertex.py:84
Methodtest_copy_default_headers
(self)
tests/lib/test_vertex.py:188
Methodtest_copy_default_options
(self)
tests/test_client.py:92
Methodtest_copy_default_options
(self)
tests/test_client.py:957
Methodtest_copy_default_options
(self)
tests/lib/test_vertex.py:68
Methodtest_copy_default_options
(self)
tests/lib/test_vertex.py:172
Methodtest_copy_default_query
(self)
tests/test_client.py:142
Methodtest_copy_default_query
(self)
tests/test_client.py:1007
Methodtest_copy_signature
(self)
tests/test_client.py:178
Methodtest_copy_signature
(self)
tests/test_client.py:1043
Functiontest_data_json_escaped_double_new_line
(sync: bool, client: Anthropic, async_client: AsyncAnthropic)
tests/test_streaming.py:131
Functiontest_data_missing_event
(sync: bool, client: Anthropic, async_client: AsyncAnthropic)
tests/test_streaming.py:31
Functiontest_datetime_custom_format
(use_async: bool)
tests/test_transform.py:251
Functiontest_datetime_with_alias
(use_async: bool)
tests/test_transform.py:264
Methodtest_default_headers_option
(self)
tests/test_client.py:317
Methodtest_default_headers_option
(self)
tests/test_client.py:1182
Methodtest_default_query_option
(self)
tests/test_client.py:355
Methodtest_default_query_option
(self)
tests/test_client.py:1220
Methodtest_default_stream_cls
(self, respx_mock: MockRouter)
tests/test_client.py:674
Methodtest_default_stream_cls
(self, respx_mock: MockRouter)
tests/test_client.py:1552
Functiontest_deprecated_alias
()
tests/test_models.py:471
Methodtest_deprecated_model_warning
(self, client: Anthropic)
tests/api_resources/test_messages.py:253
Methodtest_deprecated_model_warning
(self, async_client: AsyncAnthropic)
tests/api_resources/test_messages.py:598
Methodtest_deprecated_model_warning_stream
(self, respx_mock: MockRouter)
tests/lib/streaming/test_messages.py:133
Methodtest_deprecated_model_warning_stream
(self, respx_mock: MockRouter)
tests/lib/streaming/test_messages.py:190
Functiontest_dict_of_union
()
tests/test_models.py:361
Functiontest_directly_nested_model
()
tests/test_models.py:25
Functiontest_discriminated_unions_invalid_data
()
tests/test_models.py:654
Functiontest_discriminated_unions_invalid_data_nested_unions
()
tests/test_models.py:710
Functiontest_discriminated_unions_invalid_data_uses_cache
()
tests/test_models.py:796
Functiontest_discriminated_unions_overlapping_discriminators_invalid_data
()
tests/test_models.py:776
Functiontest_discriminated_unions_unknown_variant
()
tests/test_models.py:687
Functiontest_discriminated_unions_with_aliases_invalid_data
()
tests/test_models.py:743
Functiontest_does_not_coerce_int
()
tests/test_models.py:443
Functiontest_double_nested_union
()
tests/test_models.py:381
Functiontest_empty
()
tests/test_qs.py:10
Functiontest_event_missing_data
(sync: bool, client: Anthropic, async_client: AsyncAnthropic)
tests/test_streaming.py:47
Functiontest_extract_response_type_binary_response
()
tests/test_response.py:51
Functiontest_extract_response_type_concrete_subclasses
()
tests/test_response.py:45
Functiontest_extract_response_type_direct_class_missing_type_arg
()
tests/test_response.py:37
Functiontest_extract_response_type_direct_classes
()
tests/test_response.py:31
Functiontest_extract_type_var
()
tests/test_utils/test_typing.py:27
Functiontest_extract_type_var_generic_subclass
()
tests/test_utils/test_typing.py:38
Functiontest_extract_type_var_generic_subclass_different_ordering_multiple
()
tests/test_utils/test_typing.py:67
Functiontest_extract_type_var_generic_subclass_multiple
()
tests/test_utils/test_typing.py:58
Functiontest_extract_type_var_multiple
()
tests/test_utils/test_typing.py:49
Functiontest_field_named_cls
()
tests/test_models.py:850
Functiontest_forwards_compat_model_dump_json_method
()
tests/test_models.py:600
Functiontest_forwards_compat_model_dump_method
()
tests/test_models.py:536
Methodtest_get_platform
(self)
tests/test_client.py:1807
Methodtest_http_client_timeout_option
(self)
tests/test_client.py:276
Methodtest_http_client_timeout_option
(self)
tests/test_client.py:1141
Functiontest_ignores_incorrect_paths
( query: dict[str, object], paths: Sequence[Sequence[str]], expected: list[tuple[str, FileTypes]],
tests/test_extract_files.py:59
Functiontest_ignores_invalid_input
(use_async: bool)
tests/test_transform.py:159
Functiontest_ignores_other_types
()
tests/test_deepcopy.py:47
Functiontest_includes_unknown_keys
(use_async: bool)
tests/test_transform.py:141
Functiontest_int_to_float_safe_conversion
()
tests/test_models.py:453
Methodtest_invalid_http_client
(self)
tests/test_client.py:307
← previousnext →701–800 of 1,183, ranked by callers