Conditions | 1 |
Total Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | # coding: utf-8 |
||
26 | def commit(self): |
||
27 | self.parent_cache.set_many(self, None) |
||
28 | # The previous `set_many` is not enough. The parent cache needs to be |
||
29 | # invalidated in case another transaction occurred in the meantime. |
||
30 | _invalidate_tables(self.parent_cache, self.db_alias, |
||
31 | self.to_be_invalidated) |
||
32 | |||
37 |