style(proxy): format rate limiter

This commit is contained in:
Sisyphus 2026-09-05 13:26:07 +08:00
parent ed54f9bbf8
commit 54b1560b15

View file

@ -390,6 +390,8 @@ class _AsyncLuaScript(Protocol):
"""A Lua script registered against the async Redis client, called with KEYS and ARGV."""
def __call__(self, *, keys: Sequence[str], args: Sequence[object]) -> Awaitable[list[CacheCounterValue]]: ...
WindowKeyType: TypeAlias = Literal["requests", "tokens"]