diff --git a/fastapi_redis_cache/client.py b/fastapi_redis_cache/client.py index b4f0b50..337e701 100644 --- a/fastapi_redis_cache/client.py +++ b/fastapi_redis_cache/client.py @@ -19,7 +19,7 @@ from fastapi_redis_cache.redis import redis_connect from fastapi_redis_cache.util import serialize_json -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from fastapi import Request, Response from redis import client diff --git a/fastapi_redis_cache/key_gen.py b/fastapi_redis_cache/key_gen.py index c4f4b79..1efc684 100644 --- a/fastapi_redis_cache/key_gen.py +++ b/fastapi_redis_cache/key_gen.py @@ -7,7 +7,7 @@ from fastapi_redis_cache.types import ArgType, SigParameters -if TYPE_CHECKING: +if TYPE_CHECKING: # pragma: no cover from collections import OrderedDict ALWAYS_IGNORE_ARG_TYPES = [Response, Request]