diff --git a/packages/service-library/src/servicelib/redis_utils.py b/packages/service-library/src/servicelib/redis_utils.py index 9ba1ca3fad8..22f10188934 100644 --- a/packages/service-library/src/servicelib/redis_utils.py +++ b/packages/service-library/src/servicelib/redis_utils.py @@ -17,9 +17,9 @@ def exclusive( - redis: RedisClientSDK | Callable[..., RedisClientSDK], + redis: RedisClientSDK | Callable[P, RedisClientSDK], *, - lock_key: str | Callable[..., str], + lock_key: str | Callable[P, str], lock_value: bytes | str | None = None, ) -> Callable[[Callable[P, Awaitable[R]]], Callable[P, Awaitable[R]]]: """