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

Method __init__

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

Source from the content-addressed store, hash-verified

1353
1354class CountingProvider:
1355 def __init__(self, tokens: List[AccessToken]) -> None:
1356 self.tokens = tokens
1357 self.calls = 0
1358
1359 def __call__(self, *, force_refresh: bool = False) -> AccessToken: # noqa: ARG002
1360 self.calls += 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected