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

Method __init__

tests/lib/test_credentials.py:1590–1592  ·  view source on GitHub ↗
(self, tokens: List[AccessToken])

Source from the content-addressed store, hash-verified

1588
1589class CountingProvider:
1590 def __init__(self, tokens: List[AccessToken]) -> None:
1591 self.tokens = tokens
1592 self.calls = 0
1593
1594 def __call__(self, *, force_refresh: bool = False) -> AccessToken: # noqa: ARG002
1595 self.calls += 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected