def unpatch(self):
        """un-applies this patch."""
        if not self._patched:
            return
        for func in self._read_compilers + self._write_compilers:
            func.execute_sql = self._original[func]
        self.cache_backend.unpatch()
        self._patched = False
def unpatch ( self ) : if not self . _patched : return for func in self . _read_compilers + self . _write_compilers : func . execute_sql = self . _original [ func ] self . cache_backend . unpatch ( ) self . _patched = False
un-applies this patch.