summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/mapping
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-04-03 21:04:16 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-04-03 21:04:16 +0000
commit837b5407a4ad385f545c4ba2fb316f3f8056ca9f (patch)
tree8c43de4bf325f5587934613b5a80fa56f29a8271 /lib/sqlalchemy/mapping
parent82104a5d0dd3a1b428298dde98354821115c7c0f (diff)
downloadsqlalchemy-837b5407a4ad385f545c4ba2fb316f3f8056ca9f.tar.gz
attributes overhaul #2 - attribute manager now tracks class-level initializers strictly through the SmartPropery instances attached to the class, so that attributes retain their natural polymorphic behavior. naming conventions migrating to "managed_attribute", simplifying codepaths.
Diffstat (limited to 'lib/sqlalchemy/mapping')
-rw-r--r--lib/sqlalchemy/mapping/unitofwork.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/mapping/unitofwork.py b/lib/sqlalchemy/mapping/unitofwork.py
index 7c3ca8fd7..b08836a20 100644
--- a/lib/sqlalchemy/mapping/unitofwork.py
+++ b/lib/sqlalchemy/mapping/unitofwork.py
@@ -66,8 +66,8 @@ class UOWAttributeManager(attributes.AttributeManager):
else:
get_session(obj).register_new(obj)
- def create_prop(self, class_, key, uselist, **kwargs):
- return UOWProperty(class_, self, key, uselist)
+ def create_prop(self, class_, key, uselist, callable_, **kwargs):
+ return UOWProperty(class_, self, key, uselist, callable_, **kwargs)
def create_list(self, obj, key, list_, **kwargs):
return UOWListElement(obj, key, list_, **kwargs)