From e80cf9f3c838c49fe357bbdf18afb1e34bdf09f2 Mon Sep 17 00:00:00 2001 From: Hugh Brown Date: Wed, 4 Mar 2026 14:19:15 -0700 Subject: [PATCH] fix: suppress mypy no-untyped-call for redis.asyncio.from_url Co-Authored-By: Claude Opus 4.6 --- backend/app/core/rate_limit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/core/rate_limit.py b/backend/app/core/rate_limit.py index 6277cbf0..3903d9ca 100644 --- a/backend/app/core/rate_limit.py +++ b/backend/app/core/rate_limit.py @@ -32,7 +32,7 @@ def _get_async_redis(redis_url: str) -> aioredis.Redis: """Return a shared async Redis client for *redis_url*, creating one if needed.""" client = _async_redis_clients.get(redis_url) if client is None: - client = aioredis.from_url(redis_url) + client = aioredis.from_url(redis_url) # type: ignore[no-untyped-call] _async_redis_clients[redis_url] = client return client