def incr(self, key, amount=1):
        if amount == 1:
            self._send('INCR', key)
        else:
            self._send('INCRBY', key, amount)
        return self.getResponse()
Context manager to control cursor position.
dataset/ETHPy150Open deldotdr/txRedis/txredis/client.py/RedisClient.incr--crossover with--dataset/ETHPy150Open dbrgn/RPLCD/RPLCD/contextmanagers.py/cursor