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

Method no_default_credentials

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

Source from the content-addressed store, hash-verified

557 assert request.headers.get("Authorization") == f"Bearer {api_key}"
558
559 def no_default_credentials(**_kwargs: object) -> None:
560 return None
561
562 with pytest.MonkeyPatch.context() as monkeypatch:
563 monkeypatch.setattr("anthropic._client.default_credentials", no_default_credentials)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected