refactor(api): simplify leftovers from the perf pass

This commit is contained in:
imSp4rky
2026-11-02 15:33:05 -07:00
parent 1a590fc6be
commit 777bb5c8df
4 changed files with 17 additions and 31 deletions
-1
View File
@@ -72,7 +72,6 @@ def mask_key(key: Optional[str]) -> str:
return key[:4] + "…"
@lru_cache(maxsize=1024)
def key_id(key: Optional[str]) -> str:
"""A stable id for an API key. A hash prefix, so two unnamed keys never collide the way
``mask_key`` does, and the id carries no key material."""