Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

typing: Tighten type annotation for settings.CACHES.

Zixuan James Lic968b299db28
diff --git a/zproject/computed_settings.py b/zproject/computed_settings.py
index a6a29ba8e88..bba9b661e7e 100644
--- a/zproject/computed_settings.py
+++ b/zproject/computed_settings.py
@@ -337,7 +337,7 @@ SESSION_ENGINE = "zerver.lib.safe_session_cached_db"
MEMCACHED_PASSWORD = get_secret("memcached_password")
-CACHES = {
+CACHES: Dict[str, Dict[str, object]] = {
"default": {
"BACKEND": "zerver.lib.singleton_bmemcached.SingletonBMemcached",
"LOCATION": MEMCACHED_LOCATION,