Commits

Jean-Tiare Le Bigot  committed 0983829

fixed (not so) super calls

  • Participants
  • Parent commits 25f758f

Comments (0)

Files changed (2)

 
 sub-transactions
     If __init__ is called in any of your transactions, make sure to call
-    ``super(Transactions, self).__init__)``
+    ``super(MyTransactionClass, self).__init__(**kwargs)``
 
 
 Known bugs - limitations

File dynamodb_mapper/transactions.py

 
     STATUSES_TO_SAVE = frozenset(["running", "done"])
 
-    def __init__(self):
-        super(DynamoDBModel, self).__init__)
+    def __init__(self, **kwargs):
+        super(Transaction, self).__init__(**kwargs)
         self.subtransactions = []
 
     def _setup(self):