MCPcopy Create free account

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

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

Functiontest_multiple_data_lines
(sync: bool, client: Anthropic, async_client: AsyncAnthropic)
tests/test_streaming.py:148
Functiontest_multiple_data_lines_with_empty_line
(sync: bool, client: Anthropic, async_client: AsyncAnthropic)
tests/test_streaming.py:109
Functiontest_multiple_events
(sync: bool, client: Anthropic, async_client: AsyncAnthropic)
tests/test_streaming.py:63
Functiontest_multiple_events_with_data
(sync: bool, client: Anthropic, async_client: AsyncAnthropic)
tests/test_streaming.py:85
Functiontest_multiple_files
()
tests/test_extract_files.py:29
Functiontest_multiple_params
()
tests/test_required_args.py:43
Functiontest_multiple_params_multiple_variants
()
tests/test_required_args.py:89
Functiontest_multiple_variants
()
tests/test_required_args.py:71
Functiontest_nested_brackets
()
tests/test_qs.py:38
Functiontest_nested_dict
()
tests/test_deepcopy.py:15
Functiontest_nested_dictionary_model
()
tests/test_models.py:135
Functiontest_nested_dotted
(method: str)
tests/test_qs.py:26
Functiontest_nested_list
()
tests/test_deepcopy.py:37
Functiontest_nested_list_iso6801_format
(use_async: bool)
tests/test_transform.py:241
Functiontest_nested_union_invalid_data
()
tests/test_models.py:283
Functiontest_nested_union_multiple_variants
()
tests/test_models.py:255
Functiontest_nested_union_of_mixed_types
()
tests/test_models.py:237
Functiontest_nested_union_of_models
()
tests/test_models.py:222
Functiontest_new_lines_in_json
( sync: bool, )
tests/decoders/test_jsonl.py:33
Methodtest_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
Methodtest_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
Methodtest_omit_retry_count_header
( self, client: Anthropic, failures_before_success: int, respx_mock: MockRouter )
tests/test_client.py:828
Methodtest_omit_retry_count_header
( self, async_client: AsyncAnthropic, failures_before_success: int, respx_mock: MockRouter )
tests/test_client.py:1710
Functiontest_omitted_fields
()
tests/test_models.py:490
Functiontest_optional_iso8601_format
(use_async: bool)
tests/test_transform.py:210
Functiontest_optional_list
()
tests/test_models.py:203
Functiontest_optional_list_nested_model
()
tests/test_models.py:73
Functiontest_optional_nested_model
()
tests/test_models.py:37
Methodtest_overwrite_retry_count_header
( self, client: Anthropic, failures_before_success: int, respx_mock: MockRouter )
tests/test_client.py:861
Methodtest_overwrite_retry_count_header
( self, async_client: AsyncAnthropic, failures_before_success: int, respx_mock: MockRouter )
tests/test_client.py:1744
Methodtest_parse_retry_after_header
(self, remaining_retries: int, retry_after: str, timeout: float)
tests/test_client.py:723
Methodtest_parse_retry_after_header
(self, remaining_retries: int, retry_after: str, timeout: float)
tests/test_client.py:1603
Methodtest_path_params_cancel
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:337
Methodtest_path_params_cancel
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:696
Methodtest_path_params_cancel
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:241
Methodtest_path_params_cancel
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:496
Methodtest_path_params_delete
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:291
Methodtest_path_params_delete
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:650
Methodtest_path_params_delete
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:203
Methodtest_path_params_delete
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:458
Methodtest_path_params_results
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:376
Methodtest_path_params_results
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:736
Methodtest_path_params_retrieve
(self, client: Anthropic)
tests/api_resources/test_models.py:53
Methodtest_path_params_retrieve
(self, async_client: AsyncAnthropic)
tests/api_resources/test_models.py:129
Methodtest_path_params_retrieve
(self, client: Anthropic)
tests/api_resources/beta/test_models.py:53
Methodtest_path_params_retrieve
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_models.py:129
Methodtest_path_params_retrieve
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:210
Methodtest_path_params_retrieve
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:569
Methodtest_path_params_retrieve
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:131
Methodtest_path_params_retrieve
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:386
Functiontest_pathlib_includes_file_name
()
tests/test_files.py:12
Functiontest_positional_param
()
tests/test_required_args.py:17
Functiontest_pydantic_default_field
(use_async: bool)
tests/test_transform.py:340
Functiontest_pydantic_empty_model
(use_async: bool)
tests/test_transform.py:284
Functiontest_pydantic_mismatched_object_type
(use_async: bool)
tests/test_transform.py:310
Functiontest_pydantic_mismatched_types
(use_async: bool)
tests/test_transform.py:298
Functiontest_pydantic_model_to_dictionary
(use_async: bool)
tests/test_transform.py:277
Functiontest_pydantic_nested_objects
(use_async: bool)
tests/test_transform.py:326
Functiontest_pydantic_unknown_field
(use_async: bool)
tests/test_transform.py:290
Functiontest_pydantic_v1
(session: nox.Session)
noxfile.py:5
Functiontest_raw_dictionary
()
tests/test_models.py:123
Methodtest_raw_response
(self, respx_mock: MockRouter)
tests/test_client.py:65
Methodtest_raw_response
(self, respx_mock: MockRouter)
tests/test_client.py:929
Methodtest_raw_response_cancel
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:313
Methodtest_raw_response_cancel
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:672
Methodtest_raw_response_cancel
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:217
Methodtest_raw_response_cancel
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:472
Methodtest_raw_response_count_tokens
(self, client: Anthropic)
tests/api_resources/test_messages.py:330
Methodtest_raw_response_count_tokens
(self, async_client: AsyncAnthropic)
tests/api_resources/test_messages.py:675
Methodtest_raw_response_count_tokens
(self, client: Anthropic)
tests/api_resources/beta/test_messages.py:325
Methodtest_raw_response_count_tokens
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_messages.py:666
Methodtest_raw_response_create
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:119
Methodtest_raw_response_create
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:478
Methodtest_raw_response_create
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:48
Methodtest_raw_response_create
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:303
Methodtest_raw_response_create_overload_1
(self, client: Anthropic)
tests/api_resources/test_completions.py:45
Methodtest_raw_response_create_overload_1
(self, async_client: AsyncAnthropic)
tests/api_resources/test_completions.py:155
Methodtest_raw_response_create_overload_1
(self, client: Anthropic)
tests/api_resources/test_messages.py:100
Methodtest_raw_response_create_overload_1
(self, async_client: AsyncAnthropic)
tests/api_resources/test_messages.py:445
Methodtest_raw_response_create_overload_1
(self, client: Anthropic)
tests/api_resources/beta/test_messages.py:101
Methodtest_raw_response_create_overload_1
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_messages.py:442
Methodtest_raw_response_create_overload_2
(self, client: Anthropic)
tests/api_resources/test_completions.py:98
Methodtest_raw_response_create_overload_2
(self, async_client: AsyncAnthropic)
tests/api_resources/test_completions.py:208
Methodtest_raw_response_create_overload_2
(self, client: Anthropic)
tests/api_resources/test_messages.py:214
Methodtest_raw_response_create_overload_2
(self, async_client: AsyncAnthropic)
tests/api_resources/test_messages.py:559
Methodtest_raw_response_create_overload_2
(self, client: Anthropic)
tests/api_resources/beta/test_messages.py:217
Methodtest_raw_response_create_overload_2
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_messages.py:558
Methodtest_raw_response_delete
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:267
Methodtest_raw_response_delete
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:626
Methodtest_raw_response_delete
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:179
Methodtest_raw_response_delete
(self, async_client: AsyncAnthropic)
tests/api_resources/messages/test_batches.py:434
Methodtest_raw_response_for_binary
(self, respx_mock: MockRouter)
tests/test_client.py:74
Methodtest_raw_response_for_binary
(self, respx_mock: MockRouter)
tests/test_client.py:939
Methodtest_raw_response_list
(self, client: Anthropic)
tests/api_resources/test_models.py:74
Methodtest_raw_response_list
(self, async_client: AsyncAnthropic)
tests/api_resources/test_models.py:150
Methodtest_raw_response_list
(self, client: Anthropic)
tests/api_resources/beta/test_models.py:74
Methodtest_raw_response_list
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_models.py:150
Methodtest_raw_response_list
(self, client: Anthropic)
tests/api_resources/beta/messages/test_batches.py:232
Methodtest_raw_response_list
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/messages/test_batches.py:591
Methodtest_raw_response_list
(self, client: Anthropic)
tests/api_resources/messages/test_batches.py:152
← previousnext →901–1,000 of 1,183, ranked by callers