module documentation
Throttled token cache helper.
This module provides ThrottledTokenCache, a thin wrapper around
TokenCache which prevents frequent disk reads by caching the
value in-memory for a configurable throttle period.
The class is useful when many coroutines may request the same token frequently and you want to reduce filesystem and YAML parsing overhead.
Example
cache = ThrottledTokenCache("service-account") tok = await cache.get()
| Class | |
A throttled file-based token cache. |
| Variable | log |
Undocumented |