MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / no_default_credentials

Method no_default_credentials

tests/test_client.py:596–597  ·  view source on GitHub ↗
(**_kwargs: object)

Source from the content-addressed store, hash-verified

594 assert request.headers.get("Authorization") == f"Bearer {api_key}"
595
596 def no_default_credentials(**_kwargs: object) -> None:
597 return None
598
599 with pytest.MonkeyPatch.context() as monkeypatch:
600 monkeypatch.setattr("anthropic._client.default_credentials", no_default_credentials)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected