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

Function fake_load

tests/lib/test_google_cloud.py:529–532  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

527 load_calls = 0
528
529 def fake_load() -> Any:
530 nonlocal load_calls
531 load_calls += 1
532 return _FakeCredentials(token="adc-token"), "adc-project"
533
534 monkeypatch.setattr("anthropic.lib.google_cloud._client._load_adc_credentials", fake_load)
535

Callers

nothing calls this directly

Calls 1

_FakeCredentialsClass · 0.85

Tested by

no test coverage detected