From a15da8eb0d1697cc194917606142597db260a4f9 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Sun, 25 Jun 2023 18:20:13 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20feat(settings.py):=20add=20cache?= =?UTF-8?q?=20configuration=20option=20The=20cache=20configuration=20optio?= =?UTF-8?q?n=20has=20been=20added=20to=20the=20settings=20file=20with=20a?= =?UTF-8?q?=20default=20value=20of=20"InMemoryCache".=20This=20allows=20th?= =?UTF-8?q?e=20user=20to=20choose=20the=20cache=20implementation=20they=20?= =?UTF-8?q?want=20to=20use.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/langflow/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/langflow/settings.py b/src/backend/langflow/settings.py index 9d6ac3fa9..e3644e84c 100644 --- a/src/backend/langflow/settings.py +++ b/src/backend/langflow/settings.py @@ -21,6 +21,7 @@ class Settings(BaseSettings): utilities: List[str] = [] dev: bool = False database_url: str = "sqlite:///./langflow.db" + cache: str = "InMemoryCache" remove_api_keys: bool = False class Config: