MCPcopy Create free account

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

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

Methodtest_raw_response_list
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:407
Methodtest_raw_response_retrieve
(self, client: Anthropic)
tests/api_resources/test_models.py:29
Methodtest_raw_response_retrieve
(self, async_client: AsyncAnthropic)
tests/api_resources/test_models.py:105
Methodtest_raw_response_retrieve
(self, client: Anthropic)
tests/api_resources/beta/test_models.py:29
Methodtest_raw_response_retrieve
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_models.py:105
Methodtest_raw_response_retrieve
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:186
Methodtest_raw_response_retrieve
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:545
Methodtest_raw_response_retrieve
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:107
Methodtest_raw_response_retrieve
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:362
Methodtest_received_text_for_expected_json
(self, respx_mock: MockRouter)
tests/test_client.py:685
Methodtest_received_text_for_expected_json
(self, respx_mock: MockRouter)
tests/test_client.py:1564
Functiontest_recursive_proxy
()
tests/test_utils/test_proxy.py:17
Functiontest_recursive_typeddict
(use_async: bool)
tests/test_transform.py:65
Functiontest_removes_files_from_input
()
tests/test_extract_files.py:11
Functiontest_repr
()
tests/test_models.py:183
Functiontest_repr_nested_model
()
tests/test_models.py:189
Methodtest_request_extra_headers
(self)
tests/test_client.py:407
Methodtest_request_extra_headers
(self)
tests/test_client.py:1272
Methodtest_request_extra_json
(self)
tests/test_client.py:373
Methodtest_request_extra_json
(self)
tests/test_client.py:1238
Methodtest_request_extra_query
(self)
tests/test_client.py:429
Methodtest_request_extra_query
(self)
tests/test_client.py:1294
Methodtest_request_timeout
(self)
tests/test_client.py:256
Methodtest_request_timeout
(self)
tests/test_client.py:1121
Functiontest_required_iso8601_format
(use_async: bool)
tests/test_transform.py:219
Functiontest_response_basemodel_request_id
(client: Anthropic)
tests/test_legacy_response.py:94
Functiontest_response_basemodel_request_id
(client: Anthropic)
tests/test_response.py:159
Functiontest_response_parse_annotated_type
(client: Anthropic)
tests/test_legacy_response.py:114
Functiontest_response_parse_annotated_type
(client: Anthropic)
tests/test_response.py:200
Functiontest_response_parse_bool
(client: Anthropic, content: str, expected: bool)
tests/test_legacy_response.py:46
Functiontest_response_parse_bool
(client: Anthropic, content: str, expected: bool)
tests/test_response.py:245
Functiontest_response_parse_custom_model
(client: Anthropic)
tests/test_legacy_response.py:79
Functiontest_response_parse_custom_model
(client: Anthropic)
tests/test_response.py:128
Functiontest_response_parse_custom_stream
(client: Anthropic)
tests/test_legacy_response.py:60
Functiontest_response_parse_custom_stream
(client: Anthropic)
tests/test_response.py:94
Functiontest_response_parse_expect_model_union_non_json_content
(client: Anthropic)
tests/test_legacy_response.py:136
Functiontest_response_parse_expect_model_union_non_json_content
(client: Anthropic)
tests/test_response.py:289
Functiontest_response_parse_mismatched_basemodel
(client: Anthropic)
tests/test_legacy_response.py:18
Functiontest_response_parse_mismatched_basemodel
(client: Anthropic)
tests/test_response.py:59
Methodtest_retries_taken
( self, client: Anthropic, failures_before_success: int, failure_mode: Literal
tests/test_client.py:789
Methodtest_retries_taken
( self, async_client: AsyncAnthropic, failures_before_success: int, failure_mo
tests/test_client.py:1670
Methodtest_retries_taken_new_response_class
( self, client: Anthropic, failures_before_success: int, respx_mock: MockRouter )
tests/test_client.py:894
Methodtest_retries_taken_new_response_class
( self, async_client: AsyncAnthropic, failures_before_success: int, respx_mock: MockRouter )
tests/test_client.py:1778
Methodtest_retrying_status_errors_doesnt_leak
(self, respx_mock: MockRouter)
tests/test_client.py:760
Methodtest_retrying_status_errors_doesnt_leak
(self, respx_mock: MockRouter)
tests/test_client.py:1640
Methodtest_retrying_timeout_errors_doesnt_leak
(self, respx_mock: MockRouter)
tests/test_client.py:733
Methodtest_retrying_timeout_errors_doesnt_leak
(self, respx_mock: MockRouter)
tests/test_client.py:1613
Functiontest_simple_dict
()
tests/test_deepcopy.py:9
Functiontest_simple_list
()
tests/test_deepcopy.py:31
Functiontest_special_new_line_character
( sync: bool, client: Anthropic, async_client: AsyncAnthropic, )
tests/test_streaming.py:166
Functiontest_stream_method_definition_in_sync
(sync: bool)
tests/lib/streaming/test_messages.py:207
Methodtest_streaming_response_cancel
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:324
Methodtest_streaming_response_cancel
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:683
Methodtest_streaming_response_cancel
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:228
Methodtest_streaming_response_cancel
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:483
Methodtest_streaming_response_count_tokens
(self, client: Anthropic)
tests/api_resources/test_messages.py:347
Methodtest_streaming_response_count_tokens
(self, async_client: AsyncAnthropic)
tests/api_resources/test_messages.py:692
Methodtest_streaming_response_count_tokens
(self, client: Anthropic)
tests/api_resources/beta/test_messages.py:342
Methodtest_streaming_response_count_tokens
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_messages.py:683
Methodtest_streaming_response_create
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:144
Methodtest_streaming_response_create
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:503
Methodtest_streaming_response_create
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:73
Methodtest_streaming_response_create
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:328
Methodtest_streaming_response_create_overload_1
(self, client: Anthropic)
tests/api_resources/test_completions.py:58
Methodtest_streaming_response_create_overload_1
(self, async_client: AsyncAnthropic)
tests/api_resources/test_completions.py:168
Methodtest_streaming_response_create_overload_1
(self, client: Anthropic)
tests/api_resources/test_messages.py:118
Methodtest_streaming_response_create_overload_1
(self, async_client: AsyncAnthropic)
tests/api_resources/test_messages.py:463
Methodtest_streaming_response_create_overload_1
(self, client: Anthropic)
tests/api_resources/beta/test_messages.py:119
Methodtest_streaming_response_create_overload_1
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_messages.py:460
Methodtest_streaming_response_create_overload_2
(self, client: Anthropic)
tests/api_resources/test_completions.py:111
Methodtest_streaming_response_create_overload_2
(self, async_client: AsyncAnthropic)
tests/api_resources/test_completions.py:221
Methodtest_streaming_response_create_overload_2
(self, client: Anthropic)
tests/api_resources/test_messages.py:232
Methodtest_streaming_response_create_overload_2
(self, async_client: AsyncAnthropic)
tests/api_resources/test_messages.py:577
Methodtest_streaming_response_create_overload_2
(self, client: Anthropic)
tests/api_resources/beta/test_messages.py:235
Methodtest_streaming_response_create_overload_2
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_messages.py:576
Methodtest_streaming_response_delete
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:278
Methodtest_streaming_response_delete
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:637
Methodtest_streaming_response_delete
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:190
Methodtest_streaming_response_delete
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:445
Methodtest_streaming_response_list
(self, client: Anthropic)
tests/api_resources/test_models.py:83
Methodtest_streaming_response_list
(self, async_client: AsyncAnthropic)
tests/api_resources/test_models.py:159
Methodtest_streaming_response_list
(self, client: Anthropic)
tests/api_resources/beta/test_models.py:83
Methodtest_streaming_response_list
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_models.py:159
Methodtest_streaming_response_list
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:241
Methodtest_streaming_response_list
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:600
Methodtest_streaming_response_list
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:161
Methodtest_streaming_response_list
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:416
Methodtest_streaming_response_retrieve
(self, client: Anthropic)
tests/api_resources/test_models.py:40
Methodtest_streaming_response_retrieve
(self, async_client: AsyncAnthropic)
tests/api_resources/test_models.py:116
Methodtest_streaming_response_retrieve
(self, client: Anthropic)
tests/api_resources/beta/test_models.py:40
Methodtest_streaming_response_retrieve
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_models.py:116
Methodtest_streaming_response_retrieve
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:197
Methodtest_streaming_response_retrieve
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:556
Methodtest_streaming_response_retrieve
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:118
Methodtest_streaming_response_retrieve
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:373
Functiontest_strict_validation_unknown_fields
()
tests/test_models.py:160
Functiontest_string_not_allowed
()
tests/test_files.py:45
Functiontest_to_dict
()
tests/test_models.py:504
Functiontest_to_json
()
tests/test_models.py:572
Functiontest_too_many_positional_params
()
tests/test_required_args.py:8
← previousnext →1,001–1,100 of 1,183, ranked by callers