You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm upgrading from v1.0b5 to 1.1.4 and I encountered that TransactionBase.changed_entities breaks when not using TransactionChanges plugin which I'm not as it wasn't required before.
Commenting out lines 50-51 in 1.1.4 allows continued use as before.
if class_.__name__ not in self.entity_names:
continue
As it's the self.changes property that doesn't exist:
@property
def entity_names(self):
"""
Return a list of entity names that changed during this transaction.
"""
return [changes.entity_name for changes in self.changes]
As far as I can tell, the TransactionChanges portion is just to not query the DB if its already known no entities were changed.
Is this something that can be changed?
The text was updated successfully, but these errors were encountered:
I'm upgrading from v1.0b5 to 1.1.4 and I encountered that
TransactionBase.changed_entities
breaks when not usingTransactionChanges
plugin which I'm not as it wasn't required before.Commenting out lines 50-51 in 1.1.4 allows continued use as before.
As it's the
self.changes
property that doesn't exist:As far as I can tell, the
TransactionChanges
portion is just to not query the DB if its already known no entities were changed.Is this something that can be changed?
The text was updated successfully, but these errors were encountered: