(self, start=0, stop=-1)
return [
            json.loads(m) for m in self.r.lrange(
                self.key_recent_messages, start, stop
            )
        ]
Returns a list of recent messages from `start` to `stop`.
Returns a list of recent messages from `start` to `stop`.
Returns a list of recent messages from start to stop .
def recent_messages(self, start=0, stop=-1):
        """
        Returns a list of recent messages from `start` to `stop`.
        """
        if not self.r:
            return []

        return [
            json.loads(m) for m in self.r.lrange(
                self.key_recent_messages, start, stop
            )
        ]
def recent_messages ( self , start = 0 , stop = - 1 ) : if not self . r : return [ ] return [ json . loads ( m ) for m in self . r . lrange ( self . key_recent_messages , start , stop ) ]