refactor: Update RedisCache instantiation to use type hinting for variable declaration
This commit is contained in:
parent
2517dda72a
commit
5e6857ec8b
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ class CacheServiceFactory(ServiceFactory):
|
|||
|
||||
if settings_service.settings.cache_type == "redis":
|
||||
logger.debug("Creating Redis cache")
|
||||
redis_cache = RedisCache(
|
||||
redis_cache: RedisCache = RedisCache(
|
||||
host=settings_service.settings.redis_host,
|
||||
port=settings_service.settings.redis_port,
|
||||
db=settings_service.settings.redis_db,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue