MCPcopy Create free account

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

Functions14,068 in github.com/anthropics/anthropic-sdk-python

Functiontest_max_tokens_ends_runner_without_executing_tools_sync
(respx_mock: MockRouter)
tests/lib/tools/test_runners.py:904
Methodtest_mcp_tool_name
(self)
tests/lib/tools/test_mcp_tool.py:302
Methodtest_mcp_tool_no_description
(self)
tests/lib/tools/test_mcp_tool.py:307
Methodtest_mcp_tool_to_dict
(self)
tests/lib/tools/test_mcp_tool.py:291
Methodtest_mcp_tool_with_cache_control
(self)
tests/lib/tools/test_mcp_tool.py:312
Functiontest_member_call_roundtrip_async
( async_client: AsyncAnthropic, respx_mock: MockRouter, async_navigate: BetaAsyncFunctionTool[Any] )
tests/lib/tools/toolsets/test_runner.py:515
Functiontest_member_call_routes_by_family_not_name_sync
( client: Anthropic, respx_mock: MockRouter, navigate: BetaFunctionTool[Any] )
tests/lib/tools/toolsets/test_runner.py:171
Functiontest_member_calls_round_trip_through_the_async_runner
( respx_mock: MockRouter, async_client: AsyncAnthropic )
tests/lib/tools/toolsets/test_computer_runner.py:285
Functiontest_member_calls_round_trip_through_the_async_runner
( respx_mock: MockRouter, async_client: AsyncAnthropic )
tests/lib/tools/toolsets/test_browser_runner.py:108
Functiontest_member_calls_round_trip_through_the_runner
(respx_mock: MockRouter, client: Anthropic)
tests/lib/tools/toolsets/test_computer_runner.py:68
Functiontest_member_calls_round_trip_through_the_runner
( respx_mock: MockRouter, client: Anthropic, async_client: AsyncAnthropic, flavour: str )
tests/lib/tools/toolsets/test_browser_runner.py:66
Functiontest_member_enabled_fails_closed
()
tests/lib/tools/toolsets/test_computer_registry.py:75
Functiontest_member_enabled_fails_closed
()
tests/lib/tools/toolsets/test_registry.py:98
Functiontest_member_errors_carry_toolset_name
( client: Anthropic, async_client: AsyncAnthropic, respx_mock: MockRouter, flavour: str )
tests/lib/tools/toolsets/test_runner.py:388
Functiontest_member_resolution_and_input_refusals
()
tests/lib/tools/toolsets/test_refusals.py:57
Functiontest_member_resolution_refusals
()
tests/lib/tools/toolsets/test_computer_pipeline.py:206
Functiontest_member_set_matches_the_generated_configs_param
()
tests/lib/tools/toolsets/test_computer_registry.py:46
Functiontest_member_set_matches_the_generated_configs_param
()
tests/lib/tools/toolsets/test_registry.py:67
Functiontest_member_set_matches_the_published_toolset
()
tests/lib/tools/toolsets/test_registry.py:36
Functiontest_member_set_matches_the_published_toolset_in_its_order
()
tests/lib/tools/toolsets/test_computer_registry.py:34
Functiontest_members_that_do_not_type_need_no_confirm
(twin: bool)
tests/lib/tools/toolsets/test_computer_interface.py:293
Functiontest_members_that_need_a_confirm_match_the_published_toolset
()
tests/lib/tools/toolsets/test_registry.py:59
Functiontest_memory_is_saved_after_the_tool_context_is_closed
(notes: Path, monkeypatch: pytest.MonkeyPatch)
tests/lib/tools/memory_sync/test_e2e_memory.py:644
Functiontest_memory_is_saved_and_removed_when_closing_the_tool_context_fails
( notes: Path, monkeypatch: pytest.MonkeyPatch )
tests/lib/tools/memory_sync/test_e2e_memory.py:655
Functiontest_memory_is_synced_after_a_call_once_the_interval_has_passed
( notes: Path, interval: float, uploads: list[float] )
tests/lib/tools/memory_sync/test_e2e_memory.py:108
Functiontest_memory_write_in_flight_finishes_when_the_session_ends
(notes: Path, name: str, ending: Step)
tests/lib/tools/memory_sync/test_e2e_memory.py:494
Functiontest_message
( respx_mock: MockRouter, sync: bool, client: Anthropic, async_client: AsyncAnthropic, con
tests/test_error_classes.py:149
Functiontest_message_block_types_are_all_a_part_with_content_or_with_only_their_type
( blocks: tuple[Any, ...], expected: set[str] )
tests/test_open_telemetry.py:8429
Functiontest_message_content_list_is_copied
(message_cls: type[Union[Message, BetaMessage]])
tests/types/test_to_param.py:66
Functiontest_message_delta_fields_are_all_accumulated
()
tests/lib/streaming/test_messages.py:912
Functiontest_message_delta_fields_are_all_accumulated
()
tests/lib/streaming/test_beta_messages.py:1053
Methodtest_message_delta_fields_propagated
(self, respx_mock: MockRouter)
tests/lib/streaming/test_messages.py:480
Methodtest_message_delta_fields_propagated
(self, respx_mock: MockRouter)
tests/lib/streaming/test_messages.py:805
Methodtest_message_delta_fields_propagated
(self, respx_mock: MockRouter)
tests/lib/streaming/test_beta_messages.py:672
Methodtest_message_delta_fields_propagated
(self, respx_mock: MockRouter)
tests/lib/streaming/test_beta_messages.py:1009
Methodtest_message_delta_omitted_usage_keeps_message_start
(self, respx_mock: MockRouter)
tests/lib/streaming/test_messages.py:493
Methodtest_message_delta_omitted_usage_keeps_message_start
(self, respx_mock: MockRouter)
tests/lib/streaming/test_messages.py:819
Functiontest_message_has_the_path_as_sent
( respx_mock: MockRouter, sync: bool, client: Anthropic, async_client: AsyncAnthropic )
tests/test_error_classes.py:171
Functiontest_message_of_an_error_event_has_no_status_code
( respx_mock: MockRouter, sync: bool, client: Anthropic, async_client: AsyncAnthropic )
tests/test_error_classes.py:197
Functiontest_message_role_and_content
(message_cls: type[Union[Message, BetaMessage]])
tests/types/test_to_param.py:57
Functiontest_message_serializes_as_request_param
(message_cls: type[Union[Message, BetaMessage]])
tests/types/test_to_param.py:76
Methodtest_message_stop_event_serialization
(self, respx_mock: MockRouter)
tests/lib/streaming/test_messages.py:507
Methodtest_message_stop_event_serialization
(self, respx_mock: MockRouter)
tests/lib/streaming/test_messages.py:836
Methodtest_message_stop_event_serialization
(self, respx_mock: MockRouter)
tests/lib/streaming/test_beta_messages.py:609
Methodtest_message_stop_event_serialization
(self, respx_mock: MockRouter)
tests/lib/streaming/test_beta_messages.py:942
Methodtest_message_with_cache_control
(self)
tests/lib/tools/test_mcp_tool.py:192
Methodtest_messages_appended_before_a_call_that_fails_stay_staged
(self, respx_mock: MockRouter)
tests/lib/threads/test_beta_threads.py:733
Methodtest_messages_appended_before_a_call_that_fails_stay_staged
(self, respx_mock: MockRouter)
tests/lib/threads/test_async_beta_threads.py:438
Methodtest_messages_appended_before_a_refused_turn_stay_staged
(self, respx_mock: MockRouter)
tests/lib/threads/test_beta_threads.py:861
Methodtest_messages_appended_during_a_turn_are_staged_once_it_finishes
(self, respx_mock: MockRouter)
tests/lib/threads/test_beta_threads.py:1650
Methodtest_messages_available
(self)
tests/lib/test_bedrock_mantle.py:192
Functiontest_messages_cannot_be_replaced_while_compacting_sync
(respx_mock: MockRouter)
tests/lib/tools/test_runners.py:3139
Functiontest_messages_create_response_paths_are_all_final_from_message_start_or_from_message_delta
()
tests/test_open_telemetry.py:8363
Functiontest_messages_passed_as_a_one_shot_iterable_reach_every_request
( respx_mock: MockRouter, client: Anthropic, async_client: AsyncAnthropic, flavour: str, thread: bool | No
tests/lib/tools/toolsets/test_browser_runner.py:554
Methodtest_messages_request_has_bearer_and_beta
(self, respx_mock: MockRouter)
tests/lib/test_credentials.py:2559
Functiontest_messages_request_repeats_the_name_of_a_list_in_the_query
(respx_mock: MockRouter)
tests/lib/test_bedrock.py:1179
Functiontest_messages_retries
(respx_mock: MockRouter)
tests/lib/test_bedrock.py:122
Methodtest_messages_retries
(self, respx_mock: MockRouter)
tests/lib/test_vertex.py:160
Methodtest_messages_retries
(self, respx_mock: MockRouter)
tests/lib/test_vertex.py:678
Functiontest_messages_retries_async
(respx_mock: MockRouter)
tests/lib/test_bedrock.py:157
Functiontest_messages_routes_are_all_handled
( platform: str, sync: bool, http_method: str, path: str, query: str )
tests/lib/test_platform_resources.py:136
Methodtest_method_ack
(self, client: Anthropic)
tests/api_resources/beta/environments/test_work.py:206
Methodtest_method_ack
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/environments/test_work.py:685
Methodtest_method_ack_with_all_params
(self, client: Anthropic)
tests/api_resources/beta/environments/test_work.py:215
Methodtest_method_ack_with_all_params
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/environments/test_work.py:694
Methodtest_method_activate
(self, client: Anthropic)
tests/api_resources/beta/organization/test_external_storage.py:285
Methodtest_method_activate
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/test_external_storage.py:603
Methodtest_method_activate_with_all_params
(self, client: Anthropic)
tests/api_resources/beta/organization/test_external_storage.py:293
Methodtest_method_activate_with_all_params
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/test_external_storage.py:611
Methodtest_method_add
(self, client: Anthropic)
tests/api_resources/beta/sessions/test_resources.py:271
Methodtest_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/sessions/test_resources.py:584
Methodtest_method_add
(self, client: Anthropic)
tests/api_resources/beta/organization/federation/rules/test_workspaces.py:75
Methodtest_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/federation/rules/test_workspaces.py:249
Methodtest_method_add
(self, client: Anthropic)
tests/api_resources/beta/organization/workspaces/test_members.py:182
Methodtest_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/workspaces/test_members.py:447
Methodtest_method_add
(self, client: Anthropic)
tests/api_resources/beta/organization/workspaces/test_service_accounts.py:203
Methodtest_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/workspaces/test_service_accounts.py:510
Methodtest_method_add
(self, client: Anthropic)
tests/api_resources/beta/organization/rbac_groups/test_members.py:74
Methodtest_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/rbac_groups/test_members.py:227
Methodtest_method_add
(self, client: Anthropic)
tests/api_resources/beta/organization/telemetry_destinations/test_workspaces.py:75
Methodtest_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/telemetry_destinations/test_workspaces.py:255
Methodtest_method_add
(self, client: Anthropic)
tests/api_resources/beta/organization/service_accounts/test_workspaces.py:75
Methodtest_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/service_accounts/test_workspaces.py:254
Methodtest_method_add
(self, client: Anthropic)
tests/api_resources/organization/federation/rules/test_workspaces.py:70
Methodtest_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/federation/rules/test_workspaces.py:213
Methodtest_method_add
(self, client: Anthropic)
tests/api_resources/organization/workspaces/test_members.py:172
Methodtest_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/workspaces/test_members.py:421
Methodtest_method_add
(self, client: Anthropic)
tests/api_resources/organization/workspaces/test_service_accounts.py:171
Methodtest_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/workspaces/test_service_accounts.py:419
Methodtest_method_add
(self, client: Anthropic)
tests/api_resources/organization/rbac_groups/test_members.py:70
Methodtest_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/rbac_groups/test_members.py:213
Methodtest_method_add
(self, client: Anthropic)
tests/api_resources/organization/service_accounts/test_workspaces.py:70
Methodtest_method_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/service_accounts/test_workspaces.py:217
Methodtest_method_add_with_all_params
(self, client: Anthropic)
tests/api_resources/beta/sessions/test_resources.py:281
Methodtest_method_add_with_all_params
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/sessions/test_resources.py:594
Methodtest_method_add_with_all_params
(self, client: Anthropic)
tests/api_resources/beta/organization/federation/rules/test_workspaces.py:84
Methodtest_method_add_with_all_params
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/federation/rules/test_workspaces.py:258
Methodtest_method_add_with_all_params
(self, client: Anthropic)
tests/api_resources/beta/organization/workspaces/test_service_accounts.py:213
Methodtest_method_add_with_all_params
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/workspaces/test_service_accounts.py:520
Methodtest_method_add_with_all_params
(self, client: Anthropic)
tests/api_resources/beta/organization/telemetry_destinations/test_workspaces.py:84
← previousnext →7,501–7,600 of 14,068, ranked by callers