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

Function fake_load

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

Source from the content-addressed store, hash-verified

545 load_calls = 0
546
547 def fake_load() -> Any:
548 nonlocal load_calls
549 load_calls += 1
550 return _FakeCredentials(token="adc-token"), "adc-project"
551
552 monkeypatch.setattr("anthropic.lib.google_cloud._client._load_adc_credentials", fake_load)
553

Callers

nothing calls this directly

Calls 1

_FakeCredentialsClass · 0.85

Tested by

no test coverage detected