fix: make type object subscriptable
This commit is contained in:
parent
805679becc
commit
2c5b2da955
@ -618,7 +618,7 @@ class Router:
|
||||
|
||||
@staticmethod
|
||||
def _create_redis_cache(
|
||||
cache_config: dict[str, Any]
|
||||
cache_config: Dict[str, Any]
|
||||
) -> RedisCache | RedisClusterCache:
|
||||
if cache_config.get("startup_nodes"):
|
||||
return RedisClusterCache(**cache_config)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user