style(server): ruff-format Google client id cache helper

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Adam Moussa 2026-05-13 15:07:12 -04:00
parent d478ca4899
commit ef0cfe3956

View file

@ -73,9 +73,10 @@ _google_client_id_cache_ts = 0.0
def _get_google_client_id() -> str:
global _google_client_id_cache, _google_client_id_cache_ts
now = time.monotonic()
if _google_client_id_cache is not None and (
now - _google_client_id_cache_ts
) <= _GOOGLE_CLIENT_ID_CACHE_TTL_SECONDS:
if (
_google_client_id_cache is not None
and (now - _google_client_id_cache_ts) <= _GOOGLE_CLIENT_ID_CACHE_TTL_SECONDS
):
return _google_client_id_cache
config = load_config()