summaryrefslogtreecommitdiff
path: root/examples/beaker_caching/model.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/beaker_caching/model.py')
-rw-r--r--examples/beaker_caching/model.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/beaker_caching/model.py b/examples/beaker_caching/model.py
index 6ea5e7904..c139d3284 100644
--- a/examples/beaker_caching/model.py
+++ b/examples/beaker_caching/model.py
@@ -10,7 +10,8 @@ City --(has a)--> Country
"""
from sqlalchemy import Column, Integer, String, ForeignKey
from sqlalchemy.orm import relationship
-from meta import Base, FromCache, Session, RelationshipCache
+from caching_query import FromCache, RelationshipCache
+from environment import Base, bootstrap
class Country(Base):
__tablename__ = 'country'
@@ -102,3 +103,4 @@ cache_address_bits = RelationshipCache("default", "byid", PostalCode.city).\
RelationshipCache("default", "byid", Address.postal_code)
)
+bootstrap() \ No newline at end of file