def clean_savepoints(self):
        self.savepoint_state = 0

    # ##### Backend-specific transaction management methods #####
Resets the counter used to generate unique savepoint ids in this thread.
dataset/ETHPy150Open django/django/django/db/backends/base/base.py/BaseDatabaseWrapper.clean_savepoints