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

Method __init__

tests/lib/test_google_cloud.py:52–56  ·  view source on GitHub ↗
(self, token: str | None, *, expired: bool = False, project_id: str | None = None)

Source from the content-addressed store, hash-verified

50 """Duck-typed stand-in for a `google.auth` Credentials object."""
51
52 def __init__(self, token: str | None, *, expired: bool = False, project_id: str | None = None) -> None:
53 self.token = token
54 self.expired = expired
55 self.project_id = project_id
56 self.refresh_calls = 0
57
58 def refresh(self, _request: object) -> None:
59 self.refresh_calls += 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected