MCPcopy Create free account

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

Functions12,274 in github.com/anthropics/anthropic-sdk-python

Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/beta/organization/test_plugin_marketplaces.py:121
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/test_plugin_marketplaces.py:364
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/beta/organization/federation/test_issuers.py:179
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/federation/test_issuers.py:441
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/beta/organization/federation/test_rules.py:215
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/federation/test_rules.py:514
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/beta/organization/claude_tag/test_slack_workspaces.py:127
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/claude_tag/test_slack_workspaces.py:289
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/beta/organization/claude_tag/test_slack_channels.py:191
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/claude_tag/test_slack_channels.py:470
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/beta/organization/claude_tag/test_bundles.py:114
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/claude_tag/test_bundles.py:262
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/beta/organization/workspaces/test_members.py:114
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/workspaces/test_members.py:379
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/beta/organization/workspaces/test_service_accounts.py:135
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/workspaces/test_service_accounts.py:442
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/beta/organization/workspaces/test_rate_limits.py:77
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/workspaces/test_rate_limits.py:217
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/beta/memory_stores/test_memories.py:204
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/memory_stores/test_memories.py:523
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/organization/test_rbac_groups.py:131
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/test_rbac_groups.py:323
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/organization/test_workspaces.py:160
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/test_workspaces.py:386
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/organization/test_external_keys.py:161
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/test_external_keys.py:420
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/organization/test_api_keys.py:98
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/test_api_keys.py:226
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/organization/test_users.py:92
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/test_users.py:252
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/organization/test_service_accounts.py:140
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/test_service_accounts.py:343
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/organization/federation/test_issuers.py:157
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/federation/test_issuers.py:377
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/organization/federation/test_rules.py:191
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/federation/test_rules.py:446
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/organization/workspaces/test_members.py:108
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/workspaces/test_members.py:357
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/organization/workspaces/test_service_accounts.py:108
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/workspaces/test_service_accounts.py:356
Methodtest_path_params_update
(self, client: Anthropic)
tests/api_resources/organization/workspaces/test_rate_limits.py:72
Methodtest_path_params_update
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/workspaces/test_rate_limits.py:205
Methodtest_path_params_validate
(self, client: Anthropic)
tests/api_resources/beta/organization/test_external_keys.py:296
Methodtest_path_params_validate
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/test_external_keys.py:581
Methodtest_path_params_validate
(self, client: Anthropic)
tests/api_resources/organization/test_external_keys.py:270
Methodtest_path_params_validate
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/test_external_keys.py:529
Methodtest_path_sharing_user_profiles_prefix_keeps_workspace_base
(self, respx_mock: MockRouter)
tests/lib/test_google_cloud.py:1576
Methodtest_path_sharing_user_profiles_prefix_keeps_workspace_base
(self, respx_mock: MockRouter)
tests/lib/test_google_cloud.py:1735
Methodtest_path_validation_reject_paths_not_starting_with_memories
( self, sync_local_filesystem_tool: BetaLocalFilesystemMemoryTool )
tests/lib/tools/memory_tools/test_filesystem.py:551
Methodtest_path_validation_reject_paths_not_starting_with_memories
( self, async_local_filesystem_tool: BetaAsyncLocalFilesystemMemoryTool )
tests/lib/tools/memory_tools/test_filesystem.py:1189
Methodtest_path_validation_reject_paths_trying_to_escape_memories
( self, sync_local_filesystem_tool: BetaLocalFilesystemMemoryTool )
tests/lib/tools/memory_tools/test_filesystem.py:559
Methodtest_path_validation_reject_paths_trying_to_escape_memories
( self, async_local_filesystem_tool: BetaAsyncLocalFilesystemMemoryTool )
tests/lib/tools/memory_tools/test_filesystem.py:1197
Functiontest_pathlib_in_file_tuple
()
tests/test_files.py:47
Functiontest_pathlib_includes_file_name
()
tests/test_files.py:14
Functiontest_pathlike_str_outside_file_slots_is_a_string
(send: Send, monkeypatch: pytest.MonkeyPatch)
tests/test_prepare.py:673
Functiontest_paths_that_escape_the_store_are_refused
(tmp_path: Path, caplog: pytest.LogCaptureFixture)
tests/lib/tools/memory_sync/test_memory_sync.py:150
Functiontest_pause_turn_respects_max_iterations_sync
(respx_mock: MockRouter)
tests/lib/tools/test_runners.py:756
Functiontest_pause_turn_resumes_runner_async
(respx_mock: MockRouter)
tests/lib/tools/test_runners.py:721
Functiontest_pause_turn_resumes_runner_sync
(respx_mock: MockRouter)
tests/lib/tools/test_runners.py:686
Methodtest_pdf_resource
(self)
tests/lib/tools/test_mcp_tool.py:221
Functiontest_pending_compaction_is_skipped_on_a_final_turn_with_unrun_tool_calls_async
( respx_mock: MockRouter, caplog: pytest.LogCaptureFixture )
tests/lib/tools/test_runners.py:2776
Functiontest_pending_compaction_is_skipped_on_a_final_turn_with_unrun_tool_calls_sync
( respx_mock: MockRouter, caplog: pytest.LogCaptureFixture )
tests/lib/tools/test_runners.py:2749
Functiontest_pending_compaction_is_skipped_when_max_iterations_ends_the_run_sync
(respx_mock: MockRouter)
tests/lib/tools/test_runners.py:3038
Functiontest_pep604_discriminated_union_in_optional_invalid_data
()
tests/test_models.py:909
Functiontest_pep604_union_field_invalid_data
()
tests/test_models.py:885
Methodtest_per_request_mode_still_forces_after_invalidate
invalidate() still makes the next call pass `force_refresh=True` when nothing is cached.
tests/lib/test_credentials.py:2023
Methodtest_per_request_mode_still_forces_after_invalidate
(self)
tests/lib/test_credentials.py:3757
Methodtest_per_request_omit_keeps_the_client_default
( self, client: AnthropicBedrockMantle, respx_mock: MockRouter )
tests/lib/test_bedrock_mantle.py:913
Functiontest_pickled_status_error_loads_as_its_own_class
(error_class: type[APIStatusError])
tests/test_exceptions.py:92
Methodtest_pins_the_conversation_to_the_accepted_fallback_via_state
( self, respx_mock: MockRouter, caplog: pytest.LogCaptureFixture )
tests/lib/test_refusal_fallback.py:158
Methodtest_pins_the_conversation_to_the_accepted_fallback_via_state
(self, respx_mock: MockRouter)
tests/lib/test_refusal_fallback.py:770
Methodtest_pins_the_state_to_the_hop_that_served
(self, respx_mock: MockRouter)
tests/lib/test_refusal_fallback_streaming.py:666
Methodtest_platform_client_span
(self, spans: Spans, respx_mock: MockRouter)
tests/test_open_telemetry.py:4890
Methodtest_platform_client_spans_have_the_platform_in_their_scope
( self, platform: str, sync_client: Callable[..., Any], async_client: Callable
tests/test_open_telemetry.py:4859
Methodtest_platform_clients_have_the_option
(self, spans: Spans)
tests/test_open_telemetry.py:4314
Methodtest_platform_clients_read_the_environment_when_they_are_constructed
( self, registered: Spans, respx_mock: MockRouter )
tests/test_open_telemetry.py:4801
Methodtest_platform_clients_replace_the_whole_option_too
(self, spans: Spans, respx_mock: MockRouter)
tests/test_open_telemetry.py:4641
Methodtest_platform_clients_without_spans_read_back_an_option_without_them
( self, spans: Spans, respx_mock: MockRouter )
tests/test_open_telemetry.py:4666
Methodtest_platform_headers_do_not_spawn_subprocesses
(self, monkeypatch: pytest.MonkeyPatch)
tests/test_client.py:2942
Methodtest_pointer_at_missing_profile_raises
(self, clean_env: pytest.MonkeyPatch, tmp_path: pathlib.Path)
tests/lib/test_credentials.py:4750
Methodtest_pointer_at_missing_profile_raises_via_client
( self, clean_env: pytest.MonkeyPatch, tmp_path: pathlib.Path )
tests/lib/test_credentials.py:4756
Methodtest_pointer_at_present_profile_loads_normally
( self, clean_env: pytest.MonkeyPatch, tmp_path: pathlib.Path )
tests/lib/test_credentials.py:4771
Functiontest_positional_param
()
tests/test_required_args.py:17
Functiontest_post_construction_base_url_assignment_wins
(respx_mock: MockRouter)
tests/lib/test_google_cloud.py:861
Functiontest_pre_denied_tool_ignores_stray_allow_verdict
A call the server already evaluated to `deny` must never execute, even if an (anomalous) `allow` confirmation exists for its id.
tests/lib/tools/test_session_runner.py:1064
Functiontest_pre_denied_tool_never_executes
A call the server already evaluated to `deny` needs no confirmation — it must never execute and nothing may be posted for it.
tests/lib/tools/test_session_runner.py:749
Functiontest_prefix_items_and_foreign_resources_leave_no_trace
Only `memory_store` resources are downloaded and only `memory` items carry content — a `file` resource and `memory_prefix` rollups pass throug
tests/lib/tools/memory_sync/test_memory_sync.py:412
Functiontest_prepare_options_lifts_anthropic_beta_header_case_insensitively
()
tests/lib/test_bedrock.py:907
Functiontest_preserves_key_order
(send: Send)
tests/test_prepare.py:401
Methodtest_primary_threads_tool_has_the_thread_id_that_the_sessions_log_gives
( self, spans: Spans, respx_mock: MockRouter, status_events_in: str )
tests/lib/tools/test_open_telemetry.py:2402
Methodtest_profile_base_url_adopted_by_client
Outbound: a zero-arg `Anthropic()` adopts the active profile's `base_url` when the user supplied neither `base_url=` nor `ANTHROPIC_BA
tests/lib/test_credentials.py:2672
Methodtest_profile_env_triggers_tier1
ANTHROPIC_PROFILE set → tier 1 fires.
tests/lib/test_credentials.py:2169
Methodtest_profile_from_active_config
(self, tmp_path: pathlib.Path)
tests/lib/test_credentials.py:1038
Methodtest_profile_from_env
(self, tmp_path: pathlib.Path, monkeypatch: pytest.MonkeyPatch)
tests/lib/test_credentials.py:1033
Methodtest_profile_name_empty_rejected
(self)
tests/lib/test_credentials.py:895
Methodtest_profile_name_leading_dot_rejected
(self)
tests/lib/test_credentials.py:891
Methodtest_profile_name_path_traversal_rejected
(self)
tests/lib/test_credentials.py:887
Methodtest_profile_name_with_dot_prefix_raises_anthropic_error
( self, clean_env: pytest.MonkeyPatch, tmp_path: pathlib.Path )
tests/lib/test_credentials.py:4032
Methodtest_profile_param_loads_named_profile
`Anthropic(profile="staging")` loads `configs/staging.json` from the config directory, equivalent to setting `ANTHROPIC_PROFILE`.
tests/lib/test_credentials.py:3076
Methodtest_profile_returns_true
(self)
tests/lib/test_aws_auth.py:74
← previousnext →8,701–8,800 of 12,274, ranked by callers