Skip to content

Commit 3f38aa2

Browse files
committed
Use explicit imports in README.md and Vector-Search-City.ipynb
1 parent 5da60ef commit 3f38aa2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Code Example: CRUD (Create, Read, Update, Delete)
4343
What does using ObjectBox in Python look like?
4444

4545
```python
46-
from objectbox import *
46+
from objectbox import Entity, Id, Store, String
4747

4848
@Entity()
4949
class Person:

example/vectorsearch-cities-notebook/Vector-Search-City.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
}
6868
],
6969
"source": [
70-
"!pip install --upgrade --pre objectbox"
70+
"!pip install --upgrade objectbox"
7171
]
7272
},
7373
{
@@ -86,7 +86,7 @@
8686
{
8787
"cell_type": "code",
8888
"source": [
89-
"from objectbox import *\n",
89+
"from objectbox import Entity, Float32Vector, HnswIndex, Id, Store, String\n",
9090
"\n",
9191
"@Entity()\n",
9292
"class City:\n",
@@ -619,4 +619,4 @@
619619
"outputs": []
620620
}
621621
]
622-
}
622+
}

0 commit comments

Comments
 (0)