Skip to content

Commit

Permalink
Update version to 1.4.5 in pyproject.toml and setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlo Nery de Lima Moro committed May 8, 2024
1 parent 2746fa7 commit dee826f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion minivectordb/vector_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def delete_embedding(self, unique_id):
# Update the id_map and inverse_id_map to reflect the new indices
new_id_map = {}
new_inverse_id_map = {}
for index, uid in enumerate(self.id_map.values()):
for index, (row_num, uid) in enumerate(zip(self.id_map.keys(), self.id_map.values())):
new_id_map[index] = uid
new_inverse_id_map[uid] = index

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "minivectordb"
version = "1.4.4"
version = "1.4.5"
authors = [
{ name="Carlo Moro", email="cnmoro@gmail.com" },
]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

setup(
name='minivectordb',
version='1.4.4',
version='1.4.5',
author='Carlo Moro',
author_email='cnmoro@gmail.com',
description="This is a Python project aimed at extracting embeddings from textual data and performing semantic search.",
Expand Down

0 comments on commit dee826f

Please sign in to comment.