def METHOD_NAME(self) -> None:
    LOG.info("Deadlock detected (params = %s), retry.", str(self.current_params))
    assert self.cursor is not None
    assert self.current_query is not None
    assert self.current_params is not None
    self.cursor.execute(self.current_query, self.current_params)