graflo.db.tigergraph.token_cache¶
Process-scoped TigerGraph API token cache.
Attributes¶
TokenCacheKey = tuple[str, str, str]
module-attribute
¶
Functions:¶
make_token_cache_key(gsql_url, graphname, secret)
¶
parse_tg_expiration(raw)
¶
Convert TigerGraph expiration field to a Unix timestamp.
Source code in graflo/db/tigergraph/token_cache.py
reset_tigergraph_token_cache()
¶
Clear the process token cache (for tests and long-lived REPL sessions).