summaryrefslogtreecommitdiff
path: root/examples/vertical
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-06-08 16:58:14 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-06-08 16:58:14 +0000
commit8005c151593f1b9ffcc69b3b32ac57ef1c052fa0 (patch)
tree72630291746b9e66be9a1291aaaab3c961bf541d /examples/vertical
parent8f8f5dec6cc53bf8bac18b515f20e572842c9675 (diff)
downloadsqlalchemy-8005c151593f1b9ffcc69b3b32ac57ef1c052fa0.tar.gz
late compilation of mappers. now you can create mappers in any order, and they will compile their internal state when first used in a query or flush operation (or their props or 'c'/'columns' attributes are used). includes various cleanups and fixes in support of the change, including some unit test changes, additional unit tests.
Diffstat (limited to 'examples/vertical')
-rw-r--r--examples/vertical/vertical.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/vertical/vertical.py b/examples/vertical/vertical.py
index fbd9021ff..66224fb5b 100644
--- a/examples/vertical/vertical.py
+++ b/examples/vertical/vertical.py
@@ -1,5 +1,6 @@
from sqlalchemy import *
import datetime
+import sys
"""this example illustrates a "vertical table". an object is stored with individual attributes
represented in distinct database rows. This allows objects to be created with dynamically changing