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

Method refresh

tests/lib/test_vertex.py:258–259  ·  view source on GitHub ↗
(self, _request: object)

Source from the content-addressed store, hash-verified

256
257 class FakeCredentials:
258 def refresh(self, _request: object) -> None:
259 raise AssertionError("should not be reached: building the request needs google-auth")
260
261 with pytest.raises(MissingDependencyError, match=r"anthropic\[vertex\]"):
262 refresh_auth(cast(Any, FakeCredentials()))

Callers 2

load_default_credentialsFunction · 0.45
refresh_credentialsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected