From bd6d286cb0a3386fc51a315be66d3665bb9c696f Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Sun, 26 May 2024 13:14:01 +0200 Subject: [PATCH] Updates to the configs --- cognee/infrastructure/databases/relational/config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cognee/infrastructure/databases/relational/config.py b/cognee/infrastructure/databases/relational/config.py index 86cef5b7c..4286d20ac 100644 --- a/cognee/infrastructure/databases/relational/config.py +++ b/cognee/infrastructure/databases/relational/config.py @@ -16,6 +16,7 @@ class RelationalConfig(BaseSettings): db_name=db_name, db_path=db_path ) + database_path: str = os.path.join(config.system_root_directory, "databases") database_directory_path: str = os.path.join(config.system_root_directory,"databases") model_config = SettingsConfigDict(env_file = ".env", extra = "allow") @@ -28,7 +29,8 @@ class RelationalConfig(BaseSettings): "db_port": self.db_port, "db_user": self.db_user, "db_password": self.db_password, - "db_engine": self.db_engine + "db_engine": self.db_engine, + "database_path": self.database_path, } @lru_cache