(*, force_refresh: bool = False)
| 170 | |
| 171 | |
| 172 | async def my_async_provider(*, force_refresh: bool = False) -> AccessToken: |
| 173 | token = await fetch_token_from_my_auth_service(force_refresh=force_refresh) |
| 174 | return AccessToken(token=token, expires_at=1775000000) |
| 175 | |
| 176 | |
| 177 | async_client = anthropic.AsyncAnthropic(credentials=my_async_provider) |
nothing calls this directly
no test coverage detected