(self, value, priority=100)
Add item onto queue.
        Rank items by priority.  Get low priority items before high priority
Add item onto queue.
        Rank items by priority.  Get low priority items before high priority
Add item onto queue . Rank items by priority . Get low priority items before high priority
def put(self, value, priority=100):
        """Add item onto queue.
        Rank items by priority.  Get low priority items before high priority
        """
        # format into hashed key
        h_k = "%d:%f:%s" % (priority, time.time(), value)

        rv = raw_client().evalsha(
            self._SHAS['lq_put'],
            len(self.SCRIPTS['lq_put']['keys']),
            self._path, h_k)
        assert rv == 1
def put ( self , value , priority = 100 ) : # format into hashed key h_k = "%d:%f:%s" % ( priority , time . time ( ) , value ) rv = raw_client ( ) . evalsha ( self . _SHAS [ 'lq_put' ] , len ( self . SCRIPTS [ 'lq_put' ] [ 'keys' ] ) , self . _path , h_k ) assert rv == 1