beaver-db 0.19.3__py3-none-any.whl → 0.20.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of beaver-db might be problematic. Click here for more details.
- beaver/__init__.py +1 -1
- beaver/core.py +4 -4
- {beaver_db-0.19.3.dist-info → beaver_db-0.20.1.dist-info}/METADATA +1 -1
- {beaver_db-0.19.3.dist-info → beaver_db-0.20.1.dist-info}/RECORD +7 -7
- {beaver_db-0.19.3.dist-info → beaver_db-0.20.1.dist-info}/WHEEL +0 -0
- {beaver_db-0.19.3.dist-info → beaver_db-0.20.1.dist-info}/entry_points.txt +0 -0
- {beaver_db-0.19.3.dist-info → beaver_db-0.20.1.dist-info}/licenses/LICENSE +0 -0
beaver/__init__.py
CHANGED
beaver/core.py
CHANGED
|
@@ -167,7 +167,7 @@ class BeaverDB:
|
|
|
167
167
|
"""Creates the table to store the serialized base ANN index."""
|
|
168
168
|
self.connection.execute(
|
|
169
169
|
"""
|
|
170
|
-
CREATE TABLE IF NOT EXISTS
|
|
170
|
+
CREATE TABLE IF NOT EXISTS beaver_ann_indexes (
|
|
171
171
|
collection_name TEXT PRIMARY KEY,
|
|
172
172
|
index_data BLOB,
|
|
173
173
|
base_index_version INTEGER NOT NULL DEFAULT 0
|
|
@@ -179,7 +179,7 @@ class BeaverDB:
|
|
|
179
179
|
"""Creates the log for new vector additions."""
|
|
180
180
|
self.connection.execute(
|
|
181
181
|
"""
|
|
182
|
-
CREATE TABLE IF NOT EXISTS
|
|
182
|
+
CREATE TABLE IF NOT EXISTS beaver_ann_pending_log (
|
|
183
183
|
collection_name TEXT NOT NULL,
|
|
184
184
|
str_id TEXT NOT NULL,
|
|
185
185
|
PRIMARY KEY (collection_name, str_id)
|
|
@@ -191,7 +191,7 @@ class BeaverDB:
|
|
|
191
191
|
"""Creates the log for vector deletions (tombstones)."""
|
|
192
192
|
self.connection.execute(
|
|
193
193
|
"""
|
|
194
|
-
CREATE TABLE IF NOT EXISTS
|
|
194
|
+
CREATE TABLE IF NOT EXISTS beaver_ann_deletions_log (
|
|
195
195
|
collection_name TEXT NOT NULL,
|
|
196
196
|
int_id INTEGER NOT NULL,
|
|
197
197
|
PRIMARY KEY (collection_name, int_id)
|
|
@@ -203,7 +203,7 @@ class BeaverDB:
|
|
|
203
203
|
"""Creates the table to map string IDs to integer IDs for Faiss."""
|
|
204
204
|
self.connection.execute(
|
|
205
205
|
"""
|
|
206
|
-
CREATE TABLE IF NOT EXISTS
|
|
206
|
+
CREATE TABLE IF NOT EXISTS beaver_ann_id_mapping (
|
|
207
207
|
collection_name TEXT NOT NULL,
|
|
208
208
|
str_id TEXT NOT NULL,
|
|
209
209
|
int_id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
beaver/__init__.py,sha256=
|
|
1
|
+
beaver/__init__.py,sha256=ojJjY4qQXSuUIhK8nbaWw785ANkVvezJohBwGvd0tzw,125
|
|
2
2
|
beaver/blobs.py,sha256=gauxfWOCMoP6mq61JRj-TVqqkXMAcVI2taBGYnJXsxg,5527
|
|
3
3
|
beaver/channels.py,sha256=kIuwKMDBdDQObaKT23znsMXzfpKfE7pXSxvf-u4LlpY,9554
|
|
4
4
|
beaver/cli.py,sha256=Sxm-mYU3LGd4tIqw-5LHb0ektWebjV9vn51hm-CMJD0,2232
|
|
5
5
|
beaver/collections.py,sha256=Vc5ZF5gVIACx2XeL25PxgOcW7iF6lBInO-cnfyBBUeo,27299
|
|
6
|
-
beaver/core.py,sha256=
|
|
6
|
+
beaver/core.py,sha256=5LIZiPsv7KnKmsQucABWApqgyauBJJUtBIa6Cqh2o7U,17096
|
|
7
7
|
beaver/dicts.py,sha256=0csA1fvQb3rB2yQvwuq_kzgJ0YPp-wifBLkNcuiUltI,6582
|
|
8
8
|
beaver/lists.py,sha256=vKZPVRiw0BRSx4JKaboGnWXfwNGkHX8cBFH59qQX1yY,11258
|
|
9
9
|
beaver/locks.py,sha256=b6cHgAI1YQxKmVdLLzNw9fcGvk4V3SQS_wUaQTHSsUk,6630
|
|
@@ -12,8 +12,8 @@ beaver/queues.py,sha256=wTlxsu12grcIPbosA1S0_23Tot4Wv3BWXeKyq4dRPKk,7709
|
|
|
12
12
|
beaver/server.py,sha256=At3BoEV7JfpYjNtyHMdPUF8shj4V4D5nStXWb6Bv53A,15947
|
|
13
13
|
beaver/types.py,sha256=m0ohT7A8r0Y1a7bJEx4VanLaOUWU2VYxaLHPsVPjrIw,1651
|
|
14
14
|
beaver/vectors.py,sha256=EGZf1s364-rMubxkYoTcjBl72lRRxM1cUwypjsoC6ec,18499
|
|
15
|
-
beaver_db-0.
|
|
16
|
-
beaver_db-0.
|
|
17
|
-
beaver_db-0.
|
|
18
|
-
beaver_db-0.
|
|
19
|
-
beaver_db-0.
|
|
15
|
+
beaver_db-0.20.1.dist-info/METADATA,sha256=Xug05cHQs5jnolxzopRY-6ppgl24IzNmVdItB9X7obY,23431
|
|
16
|
+
beaver_db-0.20.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
17
|
+
beaver_db-0.20.1.dist-info/entry_points.txt,sha256=bd5E2s45PoBdtdR9-ToKSdLNhmHp8naV1lWP5mOzlrc,42
|
|
18
|
+
beaver_db-0.20.1.dist-info/licenses/LICENSE,sha256=1xrIY5JnMk_QDQzsqmVzPIIyCgZAkWCC8kF2Ddo1UT0,1071
|
|
19
|
+
beaver_db-0.20.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|