MCPcopy
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_retryMethod · 0.80

Calls 1

to_threadFunction · 0.85

Tested by

no test coverage detected