Some minor naming changes
This commit is contained in:
@@ -258,6 +258,7 @@ Multi-level aggregates
|
||||
TODO
|
||||
----
|
||||
|
||||
* Support calculation of many-to-many aggregates
|
||||
* Special consideration should be given to `deadlocks`_.
|
||||
|
||||
|
||||
@@ -281,10 +282,10 @@ class AggregatedAttribute(declared_attr):
|
||||
fget,
|
||||
relationship,
|
||||
expr,
|
||||
*arg,
|
||||
**kw
|
||||
*args,
|
||||
**kwargs
|
||||
):
|
||||
super(AggregatedAttribute, self).__init__(fget, *arg, **kw)
|
||||
super(AggregatedAttribute, self).__init__(fget, *args, **kwargs)
|
||||
self.__doc__ = fget.__doc__
|
||||
self.expr = expr
|
||||
self.relationship = relationship
|
||||
|
@@ -34,7 +34,7 @@ class TestLazyEvaluatedSelectExpressionsForAggregates(TestCase):
|
||||
self.Catalog = Catalog
|
||||
self.Product = Product
|
||||
|
||||
def test_assigns_aggregates_insert(self):
|
||||
def test_assigns_aggregates_on_insert(self):
|
||||
catalog = self.Catalog(
|
||||
name=u'Some catalog'
|
||||
)
|
||||
|
Reference in New Issue
Block a user