Skip to content

Commit fec7b3d

Browse files
committed
objectbox API: includes model classes #56
1 parent 70c9bdd commit fec7b3d

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

objectbox/__init__.py

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from objectbox.box import Box
1717
from objectbox.builder import Builder
18-
from objectbox.model import Model
18+
from objectbox.model import Model, Entity, Id, String, Index, Bool, Int8, Int16, Int32, Int64, Float32, Float64, Bytes, BoolVector, Int8Vector, Int16Vector, Int32Vector, Int64Vector, Float32Vector, Float64Vector, CharVector, BoolList, Int8List, Int16List, Int32List, Int64List, Float32List, Float64List, CharList, Date, DateNano, Flex, HnswIndex, VectorDistanceType
1919
from objectbox.store import Store
2020
from objectbox.objectbox import ObjectBox
2121
from objectbox.c import NotFoundException, version_core, DebugFlags
@@ -25,6 +25,39 @@
2525
'Box',
2626
'Builder',
2727
'Model',
28+
'Entity',
29+
'Id',
30+
'Bool',
31+
'Int8',
32+
'Int16',
33+
'Int32',
34+
'Int64',
35+
'Float32',
36+
'Float64',
37+
'Bytes',
38+
'String',
39+
'BoolVector',
40+
'Int8Vector',
41+
'Int16Vector',
42+
'Int32Vector',
43+
'Int64Vector',
44+
'Float32Vector',
45+
'Float64Vector',
46+
'CharVector',
47+
'BoolList',
48+
'Int8List',
49+
'Int16List',
50+
'Int32List',
51+
'Int64List',
52+
'Float32List',
53+
'Float64List',
54+
'CharList',
55+
'Date',
56+
'DateNano',
57+
'Flex',
58+
'Index',
59+
'HnswIndex',
60+
'VectorDistanceType',
2861
'Store',
2962
'ObjectBox',
3063
'NotFoundException',

0 commit comments

Comments
 (0)