summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/attributes.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2005-12-21 03:44:46 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2005-12-21 03:44:46 +0000
commit9ebac6151a743b5f841e715d04b551d8995e0e61 (patch)
treede6afaacf48a128e33bfd6bb8294d161377687e5 /lib/sqlalchemy/attributes.py
parentaf281888089933ab4c909862b9a41f9ada2dc1a6 (diff)
downloadsqlalchemy-9ebac6151a743b5f841e715d04b551d8995e0e61.tar.gz
added 'deferred' keyword, allowing deferred loading of a particular column
Diffstat (limited to 'lib/sqlalchemy/attributes.py')
-rw-r--r--lib/sqlalchemy/attributes.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sqlalchemy/attributes.py b/lib/sqlalchemy/attributes.py
index 912dfff99..ed5da3284 100644
--- a/lib/sqlalchemy/attributes.py
+++ b/lib/sqlalchemy/attributes.py
@@ -391,8 +391,9 @@ class AttributeManager(object):
used to create the initial value. The definition for this attribute is
wrapped up into a callable which is then stored in the classes'
dictionary of "class managed" attributes. When instances of the class
- are created and the attribute first referenced, the callable is invoked to
- create the new history container. Extra keyword arguments can be sent which
+ are created and the attribute first referenced, the callable is invoked with
+ the new object instance as an argument to create the new history container.
+ Extra keyword arguments can be sent which
will be passed along to newly created history containers."""
def createprop(obj):
if callable_ is not None: