Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/openai/openai-python
/ get_token_async
Method
get_token_async
src/openai/auth/_workload.py:219–220 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
217
self._condition.notify_all()
218
219
async
def
get_token_async(self) -> str:
220
return
await to_thread(self.get_token)
221
222
def
invalidate_token(self) -> None:
223
with
self._lock:
Callers
1
_send_with_auth_retry
Method · 0.80
Calls
1
to_thread
Function · 0.85
Tested by
no test coverage detected