MCPcopy Create free account

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

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

Methodtest_profile_suppresses_env_api_key
(self, monkeypatch: pytest.MonkeyPatch)
tests/lib/test_aws_auth.py:121
Methodtest_profile_value_wins_over_env
(self, tmp_path: pathlib.Path, monkeypatch: pytest.MonkeyPatch)
tests/lib/test_credentials.py:1483
Methodtest_programmatic_tool_call
(self, snapshot_client: Anthropic)
tests/lib/tools/test_runners.py:496
Methodtest_project_backfilled_from_adc_for_organization_route
( self, respx_mock: MockRouter, monkeypatch: pytest.MonkeyPatch )
tests/lib/test_google_cloud.py:1638
Functiontest_project_backfilled_from_adc_on_first_request
(respx_mock: MockRouter, monkeypatch: pytest.MonkeyPatch)
tests/lib/test_google_cloud.py:785
Functiontest_project_backfilled_from_adc_on_first_request_async
( respx_mock: MockRouter, monkeypatch: pytest.MonkeyPatch )
tests/lib/test_google_cloud.py:907
Methodtest_project_backfilled_from_explicit_credentials
(self)
tests/lib/test_google_cloud.py:365
Methodtest_project_falls_back_to_google_cloud_project_env
(self, monkeypatch: pytest.MonkeyPatch)
tests/lib/test_google_cloud.py:333
Methodtest_project_id_and_region_are_percent_encoded_in_path
( self, project_id: str, region: str, prefix: str, beta: bool, respx_mock: MockRouter )
tests/lib/test_vertex.py:418
Methodtest_project_id_and_region_are_percent_encoded_in_path
( self, project_id: str, region: str, prefix: str, beta: bool, respx_mock: MockRouter )
tests/lib/test_vertex.py:943
Functiontest_propagation_env
( new_client: NewClient, propagator: CountingPropagator, monkeypatch: pytest.MonkeyPatch, env:
tests/test_tracing.py:266
Functiontest_propagation_off_changes_only_the_headers
(new_client: NewClient, propagator: CountingPropagator)
tests/test_tracing.py:211
Functiontest_propagation_off_drops_a_span_without_a_valid_context
Such a span is only there to be propagated.
tests/test_tracing.py:243
Functiontest_propagation_off_keeps_a_dropped_span_current
A span that a sampler dropped stays the parent of the spans of an instrumented HTTP client.
tests/test_tracing.py:225
Methodtest_properties
(self)
tests/test_middleware.py:379
Methodtest_provider_annotated_with_an_undefined_name
Reading the signature must not evaluate annotations that only resolve for type checkers.
tests/lib/test_credentials.py:1952
Methodtest_provider_must_return_an_access_token
(self)
tests/lib/test_credentials.py:1606
Methodtest_provider_must_return_an_access_token
(self)
tests/lib/test_credentials.py:3923
Methodtest_proxy_environment_variables
(self, monkeypatch: pytest.MonkeyPatch)
tests/test_client.py:1487
Methodtest_proxy_environment_variables
(self, monkeypatch: pytest.MonkeyPatch)
tests/test_client.py:2959
Functiontest_pure_actions_render_their_confirmation_from_the_input
()
tests/lib/tools/toolsets/test_pipeline.py:102
Functiontest_pydantic_mismatched_types
(send: Send)
tests/test_prepare.py:445
Methodtest_pydantic_model_serialization
(self)
tests/test_utils/test_json.py:48
Methodtest_pydantic_model_with_alias
(self)
tests/test_utils/test_json.py:82
Methodtest_pydantic_model_with_alias_and_default
(self)
tests/test_utils/test_json.py:92
Methodtest_pydantic_model_with_default_values
(self)
tests/test_utils/test_json.py:59
Methodtest_pydantic_model_with_default_values_overridden
(self)
tests/test_utils/test_json.py:71
Methodtest_pydantic_model_with_nested_models_and_defaults
(self)
tests/test_utils/test_json.py:108
Methodtest_pydantic_model_with_optional_fields
(self)
tests/test_utils/test_json.py:136
Functiontest_pydantic_models_are_dumped
(send: Send)
tests/test_prepare.py:412
Functiontest_query_params
(send: Send)
tests/test_prepare.py:490
Functiontest_query_params_are_never_read
(send: Send, tmp_path: pathlib.Path, monkeypatch: pytest.MonkeyPatch)
tests/test_prepare.py:587
Methodtest_raises_if_state_index_is_out_of_bounds_for_the_chain
(self, respx_mock: MockRouter)
tests/lib/test_refusal_fallback.py:181
Methodtest_raises_on_missing_credentials
(self, monkeypatch: pytest.MonkeyPatch)
tests/lib/test_aws_auth.py:586
Methodtest_raises_when_file_missing
(self, tmp_path: pathlib.Path)
tests/lib/test_credentials.py:244
Methodtest_raises_when_missing
(self, monkeypatch: pytest.MonkeyPatch)
tests/lib/test_credentials.py:217
Methodtest_raises_when_no_path
(self, monkeypatch: pytest.MonkeyPatch)
tests/lib/test_credentials.py:239
Functiontest_raises_without_a_type_or_a_kept_const_or_enum
(schema: dict[str, Any])
tests/lib/_parse/test_transform.py:114
Methodtest_raises_without_region_or_base_url
(self)
tests/lib/test_bedrock_mantle.py:109
Functiontest_raw_dictionary
()
tests/test_models.py:138
Methodtest_raw_response
( self, message: dict[str, Any], content_mode: str, spans: Spans, respx_mock: MockRouter )
tests/test_open_telemetry.py:7796
Methodtest_raw_response
(self, respx_mock: MockRouter, client: Anthropic)
tests/test_client.py:150
Methodtest_raw_response
(self, respx_mock: MockRouter, async_client: AsyncAnthropic)
tests/test_client.py:1578
Methodtest_raw_response_ack
(self, client: Anthropic)
tests/api_resources/beta/environments/test_work.py:225
Methodtest_raw_response_ack
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/environments/test_work.py:704
Methodtest_raw_response_add
(self, client: Anthropic)
tests/api_resources/beta/sessions/test_resources.py:294
Methodtest_raw_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/sessions/test_resources.py:607
Methodtest_raw_response_add
(self, client: Anthropic)
tests/api_resources/beta/organization/federation/rules/test_workspaces.py:94
Methodtest_raw_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/federation/rules/test_workspaces.py:268
Methodtest_raw_response_add
(self, client: Anthropic)
tests/api_resources/beta/organization/workspaces/test_members.py:192
Methodtest_raw_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/workspaces/test_members.py:457
Methodtest_raw_response_add
(self, client: Anthropic)
tests/api_resources/beta/organization/workspaces/test_service_accounts.py:224
Methodtest_raw_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/workspaces/test_service_accounts.py:531
Methodtest_raw_response_add
(self, client: Anthropic)
tests/api_resources/beta/organization/rbac_groups/test_members.py:83
Methodtest_raw_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/rbac_groups/test_members.py:236
Methodtest_raw_response_add
(self, client: Anthropic)
tests/api_resources/beta/organization/telemetry_destinations/test_workspaces.py:94
Methodtest_raw_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/telemetry_destinations/test_workspaces.py:274
Methodtest_raw_response_add
(self, client: Anthropic)
tests/api_resources/beta/organization/service_accounts/test_workspaces.py:96
Methodtest_raw_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/service_accounts/test_workspaces.py:275
Methodtest_raw_response_add
(self, client: Anthropic)
tests/api_resources/organization/federation/rules/test_workspaces.py:78
Methodtest_raw_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/federation/rules/test_workspaces.py:221
Methodtest_raw_response_add
(self, client: Anthropic)
tests/api_resources/organization/workspaces/test_members.py:181
Methodtest_raw_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/workspaces/test_members.py:430
Methodtest_raw_response_add
(self, client: Anthropic)
tests/api_resources/organization/workspaces/test_service_accounts.py:180
Methodtest_raw_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/workspaces/test_service_accounts.py:428
Methodtest_raw_response_add
(self, client: Anthropic)
tests/api_resources/organization/rbac_groups/test_members.py:78
Methodtest_raw_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/rbac_groups/test_members.py:221
Methodtest_raw_response_add
(self, client: Anthropic)
tests/api_resources/organization/service_accounts/test_workspaces.py:79
Methodtest_raw_response_add
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/service_accounts/test_workspaces.py:226
Methodtest_raw_response_approve
(self, client: Anthropic)
tests/api_resources/beta/organization/spend_limits/test_increase_requests.py:128
Methodtest_raw_response_approve
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/spend_limits/test_increase_requests.py:329
Methodtest_raw_response_approve
(self, client: Anthropic)
tests/api_resources/organization/spend_limits/test_increase_requests.py:116
Methodtest_raw_response_approve
(self, async_client: AsyncAnthropic)
tests/api_resources/organization/spend_limits/test_increase_requests.py:299
Methodtest_raw_response_archive
(self, client: Anthropic)
tests/api_resources/beta/test_sessions.py:360
Methodtest_raw_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_sessions.py:735
Methodtest_raw_response_archive
(self, client: Anthropic)
tests/api_resources/beta/test_dreams.py:206
Methodtest_raw_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_dreams.py:481
Methodtest_raw_response_archive
(self, client: Anthropic)
tests/api_resources/beta/test_vaults.py:284
Methodtest_raw_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_vaults.py:584
Methodtest_raw_response_archive
(self, client: Anthropic)
tests/api_resources/beta/test_tunnels.py:176
Methodtest_raw_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_tunnels.py:471
Methodtest_raw_response_archive
(self, client: Anthropic)
tests/api_resources/beta/test_agents.py:345
Methodtest_raw_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_agents.py:706
Methodtest_raw_response_archive
(self, client: Anthropic)
tests/api_resources/beta/test_deployments.py:345
Methodtest_raw_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_deployments.py:858
Methodtest_raw_response_archive
(self, client: Anthropic)
tests/api_resources/beta/test_environments.py:324
Methodtest_raw_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_environments.py:664
Methodtest_raw_response_archive
(self, client: Anthropic)
tests/api_resources/beta/test_memory_stores.py:289
Methodtest_raw_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/test_memory_stores.py:593
Methodtest_raw_response_archive
(self, client: Anthropic)
tests/api_resources/beta/sessions/test_threads.py:156
Methodtest_raw_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/sessions/test_threads.py:340
Methodtest_raw_response_archive
(self, client: Anthropic)
tests/api_resources/beta/vaults/test_credentials.py:378
Methodtest_raw_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/vaults/test_credentials.py:841
Methodtest_raw_response_archive
(self, client: Anthropic)
tests/api_resources/beta/organization/test_workspaces.py:231
Methodtest_raw_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/test_workspaces.py:479
Methodtest_raw_response_archive
(self, client: Anthropic)
tests/api_resources/beta/organization/test_service_accounts.py:228
Methodtest_raw_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/test_service_accounts.py:473
Methodtest_raw_response_archive
(self, client: Anthropic)
tests/api_resources/beta/organization/federation/test_issuers.py:245
Methodtest_raw_response_archive
(self, async_client: AsyncAnthropic)
tests/api_resources/beta/organization/federation/test_issuers.py:507
Methodtest_raw_response_archive
(self, client: Anthropic)
tests/api_resources/beta/organization/federation/test_rules.py:282
← previousnext →8,801–8,900 of 12,274, ranked by callers