MCPcopy Create free account
hub / github.com/TQZHR/grok2api / commit

Method commit

app/services/token/manager.py:447–449  ·  view source on GitHub ↗

Persist current in-memory token state.

(self)

Source from the content-addressed store, hash-verified

445 return True
446
447 async def commit(self):
448 """Persist current in-memory token state."""
449 await self._save()
450
451 async def remove(self, token: str) -> bool:
452 """

Callers 4

acquire_lockMethod · 0.45
save_configMethod · 0.45
save_tokensMethod · 0.45
refresh_tokensMethod · 0.45

Calls 1

_saveMethod · 0.95

Tested by

no test coverage detected