def store(self, key, value):
        """Store the key, value pair in our redis server"""
        # Prepend tweepy to our key,
        # this makes it easier to identify tweepy keys in our redis server
        key = self.pre_identifier + key
        # Get a pipe (to execute several redis commands in one step)
        pipe = self.client.pipeline()
        # Set our values in a redis hash (similar to python dict)
        pipe.set(key, pickle.dumps((time.time(), value)))
        # Set the expiration
        pipe.expire(key, self.timeout)
        # Add the key to a set containing all the keys
        pipe.sadd(self.keys_container, key)
        # Execute the instructions in the redis server
        pipe.execute()
def store ( self , key , value ) : key = self . pre_identifier + key pipe = self . client . pipeline ( ) pipe . set ( key , pickle . dumps ( ( time . time ( ) , value ) ) ) pipe . expire ( key , self . timeout ) pipe . sadd ( self . keys_container , key ) pipe . execute ( )
Store the key, value pair in our redis server