def _prev_index(self, s):
        self.set_index(max(0, self.index - 1))
def get_bind(self, mapper=None, *args, **kwargs):
                    return super(MySession, self).get_bind(
                        mapper, *args, **kwargs
                    )