Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
Signed-off-by: Praneeth Bedapudi <praneeth@bpraneeth.com>
  • Loading branch information
bedapudi6788 committed Apr 22, 2024
1 parent 8dfebfb commit b8eda41
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions liteindex/defined_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,14 @@ def get_defined_index_names_in_db(db_path):

class DefinedIndex:
class Type:
string = defined_serializers.DefinedTypes.string
number = defined_serializers.DefinedTypes.number
json = defined_serializers.DefinedTypes.json
string = defined_serializers.DefinedTypes.string
boolean = defined_serializers.DefinedTypes.boolean
datetime = defined_serializers.DefinedTypes.datetime
compressed_string = defined_serializers.DefinedTypes.compressed_string
blob = defined_serializers.DefinedTypes.blob
other = defined_serializers.DefinedTypes.other
json = defined_serializers.DefinedTypes.json
normalized_embedding = defined_serializers.DefinedTypes.normalized_embedding

class MetaKey:
Expand All @@ -103,7 +106,7 @@ class Key:
pass

def __init__(
self, name, schema=None, db_path=None, ram_cache_mb=64, compression_level=-1
self, name, schema=None, db_path=None, ram_cache_mb=64, compression_level=None
):
if sqlite3.sqlite_version < "3.35.0":
raise ValueError(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
EMAIL = "praneeth@bpraneeth.com"
AUTHOR = "BEDAPUDI PRANEETH"
REQUIRES_PYTHON = ">=3.6.0"
VERSION = "0.0.2.dev62"
VERSION = "0.0.2.dev63"

# What packages are required for this module to be executed?
REQUIRED = []
Expand Down

0 comments on commit b8eda41

Please sign in to comment.