Skip to content

Commit

Permalink
Merge branch 'refs/heads/45-bump-to-4.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
greenrobot committed May 17, 2024
2 parents ae0cf3b + e649b4b commit e65e993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/vectorsearch-cities/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, *args):
dbdir = "cities-db"
new_db = not os.path.exists(dbdir)
self._store = objectbox.Store(model=get_objectbox_model(),directory=dbdir)
self._box = _store.box(City)
self._box = self._store.box(City)
self._name_prop: Property = City.get_property("name")
self._location_prop: Property = City.get_property("location")
if new_db:
Expand Down

0 comments on commit e65e993

Please sign in to comment.