Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ functions
Functions
1,183 in github.com/anthropics/anthropic-sdk-python
⨍
Functions
1,183
◇
Types & classes
417
↳
Endpoints
7
Function
test_multiple_data_lines
(sync: bool, client: Anthropic, async_client: AsyncAnthropic)
tests/test_streaming.py:148
Function
test_multiple_data_lines_with_empty_line
(sync: bool, client: Anthropic, async_client: AsyncAnthropic)
tests/test_streaming.py:109
Function
test_multiple_events
(sync: bool, client: Anthropic, async_client: AsyncAnthropic)
tests/test_streaming.py:63
Function
test_multiple_events_with_data
(sync: bool, client: Anthropic, async_client: AsyncAnthropic)
tests/test_streaming.py:85
Function
test_multiple_files
()
tests/test_extract_files.py:29
Function
test_multiple_params
()
tests/test_required_args.py:43
Function
test_multiple_params_multiple_variants
()
tests/test_required_args.py:89
Function
test_multiple_variants
()
tests/test_required_args.py:71
Function
test_nested_brackets
()
tests/test_qs.py:38
Function
test_nested_dict
()
tests/test_deepcopy.py:15
Function
test_nested_dictionary_model
()
tests/test_models.py:135
Function
test_nested_dotted
(method: str)
tests/test_qs.py:26
Function
test_nested_list
()
tests/test_deepcopy.py:37
Function
test_nested_list_iso6801_format
(use_async: bool)
tests/test_transform.py:241
Function
test_nested_union_invalid_data
()
tests/test_models.py:283
Function
test_nested_union_multiple_variants
()
tests/test_models.py:255
Function
test_nested_union_of_mixed_types
()
tests/test_models.py:237
Function
test_nested_union_of_models
()
tests/test_models.py:222
Function
test_new_lines_in_json
( sync: bool, )
tests/decoders/test_jsonl.py:33
Method
test_non_application_json_content_type_for_json_data
Response that sets Content-Type to something other than application/json but returns json data
tests/test_client.py:536
Method
test_non_application_json_content_type_for_json_data
Response that sets Content-Type to something other than application/json but returns json data
tests/test_client.py:1401
Method
test_omit_retry_count_header
( self, client: Anthropic, failures_before_success: int, respx_mock: MockRouter )
tests/test_client.py:828
Method
test_omit_retry_count_header
( self, async_client: AsyncAnthropic, failures_before_success: int, respx_mock: MockRouter )
tests/test_client.py:1710
Function
test_omitted_fields
()
tests/test_models.py:490
Function
test_optional_iso8601_format
(use_async: bool)
tests/test_transform.py:210
Function
test_optional_list
()
tests/test_models.py:203
Function
test_optional_list_nested_model
()
tests/test_models.py:73
Function
test_optional_nested_model
()
tests/test_models.py:37
Method
test_overwrite_retry_count_header
( self, client: Anthropic, failures_before_success: int, respx_mock: MockRouter )
tests/test_client.py:861
Method
test_overwrite_retry_count_header
( self, async_client: AsyncAnthropic, failures_before_success: int, respx_mock: MockRouter )
tests/test_client.py:1744
Method
test_parse_retry_after_header
(self, remaining_retries: int, retry_after: str, timeout: float)
tests/test_client.py:723
Method
test_parse_retry_after_header
(self, remaining_retries: int, retry_after: str, timeout: float)
tests/test_client.py:1603
Method
test_path_params_cancel
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:337
Method
test_path_params_cancel
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:696
Method
test_path_params_cancel
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:241
Method
test_path_params_cancel
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:496
Method
test_path_params_delete
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:291
Method
test_path_params_delete
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:650
Method
test_path_params_delete
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:203
Method
test_path_params_delete
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:458
Method
test_path_params_results
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:376
Method
test_path_params_results
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:736
Method
test_path_params_retrieve
(self, client: Anthropic)
tests/api_resources/test_models.py:53
Method
test_path_params_retrieve
(self, async_client: AsyncAnthropic)
tests/api_resources/test_models.py:129
Method
test_path_params_retrieve
(self, client: Anthropic)
tests/api_resources/beta/test_models.py:53
Method
test_path_params_retrieve
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_models.py:129
Method
test_path_params_retrieve
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:210
Method
test_path_params_retrieve
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:569
Method
test_path_params_retrieve
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:131
Method
test_path_params_retrieve
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:386
Function
test_pathlib_includes_file_name
()
tests/test_files.py:12
Function
test_positional_param
()
tests/test_required_args.py:17
Function
test_pydantic_default_field
(use_async: bool)
tests/test_transform.py:340
Function
test_pydantic_empty_model
(use_async: bool)
tests/test_transform.py:284
Function
test_pydantic_mismatched_object_type
(use_async: bool)
tests/test_transform.py:310
Function
test_pydantic_mismatched_types
(use_async: bool)
tests/test_transform.py:298
Function
test_pydantic_model_to_dictionary
(use_async: bool)
tests/test_transform.py:277
Function
test_pydantic_nested_objects
(use_async: bool)
tests/test_transform.py:326
Function
test_pydantic_unknown_field
(use_async: bool)
tests/test_transform.py:290
Function
test_pydantic_v1
(session: nox.Session)
noxfile.py:5
Function
test_raw_dictionary
()
tests/test_models.py:123
Method
test_raw_response
(self, respx_mock: MockRouter)
tests/test_client.py:65
Method
test_raw_response
(self, respx_mock: MockRouter)
tests/test_client.py:929
Method
test_raw_response_cancel
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:313
Method
test_raw_response_cancel
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:672
Method
test_raw_response_cancel
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:217
Method
test_raw_response_cancel
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:472
Method
test_raw_response_count_tokens
(self, client: Anthropic)
tests/api_resources/test_messages.py:330
Method
test_raw_response_count_tokens
(self, async_client: AsyncAnthropic)
tests/api_resources/test_messages.py:675
Method
test_raw_response_count_tokens
(self, client: Anthropic)
tests/api_resources/beta/test_messages.py:325
Method
test_raw_response_count_tokens
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_messages.py:666
Method
test_raw_response_create
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:119
Method
test_raw_response_create
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:478
Method
test_raw_response_create
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:48
Method
test_raw_response_create
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:303
Method
test_raw_response_create_overload_1
(self, client: Anthropic)
tests/api_resources/test_completions.py:45
Method
test_raw_response_create_overload_1
(self, async_client: AsyncAnthropic)
tests/api_resources/test_completions.py:155
Method
test_raw_response_create_overload_1
(self, client: Anthropic)
tests/api_resources/test_messages.py:100
Method
test_raw_response_create_overload_1
(self, async_client: AsyncAnthropic)
tests/api_resources/test_messages.py:445
Method
test_raw_response_create_overload_1
(self, client: Anthropic)
tests/api_resources/beta/test_messages.py:101
Method
test_raw_response_create_overload_1
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_messages.py:442
Method
test_raw_response_create_overload_2
(self, client: Anthropic)
tests/api_resources/test_completions.py:98
Method
test_raw_response_create_overload_2
(self, async_client: AsyncAnthropic)
tests/api_resources/test_completions.py:208
Method
test_raw_response_create_overload_2
(self, client: Anthropic)
tests/api_resources/test_messages.py:214
Method
test_raw_response_create_overload_2
(self, async_client: AsyncAnthropic)
tests/api_resources/test_messages.py:559
Method
test_raw_response_create_overload_2
(self, client: Anthropic)
tests/api_resources/beta/test_messages.py:217
Method
test_raw_response_create_overload_2
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_messages.py:558
Method
test_raw_response_delete
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:267
Method
test_raw_response_delete
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:626
Method
test_raw_response_delete
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:179
Method
test_raw_response_delete
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:434
Method
test_raw_response_for_binary
(self, respx_mock: MockRouter)
tests/test_client.py:74
Method
test_raw_response_for_binary
(self, respx_mock: MockRouter)
tests/test_client.py:939
Method
test_raw_response_list
(self, client: Anthropic)
tests/api_resources/test_models.py:74
Method
test_raw_response_list
(self, async_client: AsyncAnthropic)
tests/api_resources/test_models.py:150
Method
test_raw_response_list
(self, client: Anthropic)
tests/api_resources/beta/test_models.py:74
Method
test_raw_response_list
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_models.py:150
Method
test_raw_response_list
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:232
Method
test_raw_response_list
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:591
Method
test_raw_response_list
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:152
← previous
next →
901–1,000 of 1,183, ranked by callers