(self, connection)
| 1500 | self._rollback_atomics(self.atomics) |
| 1501 | |
| 1502 | def _should_check_constraints(self, connection): |
| 1503 | return ( |
| 1504 | connection.features.can_defer_constraint_checks |
| 1505 | and not connection.needs_rollback |
| 1506 | and connection.is_usable() |
| 1507 | ) |
| 1508 | |
| 1509 | @classmethod |
| 1510 | @contextmanager |
no test coverage detected