From 29542df7cb65810fb47fc9c72c3697ac21efa844 Mon Sep 17 00:00:00 2001 From: Praneeth Bedapudi Date: Mon, 6 Nov 2023 13:01:59 +0530 Subject: [PATCH] 14 Signed-off-by: Praneeth Bedapudi --- liteindex/defined_index.py | 4 ++-- setup.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/liteindex/defined_index.py b/liteindex/defined_index.py index 35b9cd5..b0cc5e7 100644 --- a/liteindex/defined_index.py +++ b/liteindex/defined_index.py @@ -45,7 +45,7 @@ def __init__( example=None, import_from_file=None, file_type=None, - db_path=":memory:", + db_path=None, ram_cache_mb=64, ): if name.startswith("__"): @@ -74,7 +74,7 @@ def __init__( self.schema = schema self.hashed_key_schema = {} self.meta_table_name = f"__{name}_meta" - self.db_path = db_path + self.db_path = ":memory:" if db_path is None else db_path self.key_hash_to_original_key = {} self.original_key_to_key_hash = {} self.column_names = [] diff --git a/setup.py b/setup.py index d13f280..80cee08 100644 --- a/setup.py +++ b/setup.py @@ -18,10 +18,11 @@ EMAIL = "praneeth@bpraneeth.com" AUTHOR = "BEDAPUDI PRANEETH" REQUIRES_PYTHON = ">=3.6.0" -VERSION = "0.0.2.dev12" +VERSION = "0.0.2.dev14" # What packages are required for this module to be executed? REQUIRED = [ + "zstandard" ] # What packages are optional?