Skip to content

Commit 366f5f2

Browse files
dan-obxgreenrobot
authored andcommitted
examples: use explicit imports #56
1 parent ee0e40b commit 366f5f2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

example/ollama/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# using objectbox as a vector store
33

44
import ollama
5-
from objectbox import *
5+
from objectbox import Entity, Store, Id, String, Float32Vector, HnswIndex, VectorDistanceType
66

77
documents = [
88
"Llamas are members of the camelid family meaning they're pretty closely related to vicuñas and camels",

example/tasks/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import time
22
from cmd import Cmd
3-
from objectbox import *
4-
3+
from objectbox import Entity, Date, Id, String, Store
54

65
@Entity()
76
class Task:

0 commit comments

Comments
 (0)