(*, force_refresh: bool = False)
| 1783 | barrier = _threading.Barrier(8) |
| 1784 | |
| 1785 | def slow_provider(*, force_refresh: bool = False) -> AccessToken: # noqa: ARG001 |
| 1786 | provider_calls.append(1) |
| 1787 | # Hold the refresh long enough for the other threads to queue up. |
| 1788 | time.sleep(0.1) |
| 1789 | return AccessToken(token="fresh", expires_at=None) |
| 1790 | |
| 1791 | cache = TokenCache(slow_provider) |
| 1792 | results: List[str] = [] |
nothing calls this directly
no test coverage detected