(self, match=None, count=None)
Make an iterator using the SCAN command so that the client doesn't
        need to remember the cursor position.

        ``match`` allows for filtering the keys by pattern

        ``count`` allows for hint the minimum number of returns
Make an iterator using the SCAN command so that the client doesn't
        need to remember the cursor position.
Make an iterator using the SCAN command so that the client doesn t need to remember the cursor position .
def scan_iter(self, match=None, count=None):
        """
        Make an iterator using the SCAN command so that the client doesn't
        need to remember the cursor position.

        ``match`` allows for filtering the keys by pattern

        ``count`` allows for hint the minimum number of returns
        """
        cursor = '0'
        while cursor != 0:
            cursor, data = self.scan(cursor=cursor, match=match, count=count)
            for item in data:
                yield item
def scan_iter ( self , match = None , count = None ) : cursor = '0' while cursor != 0 : cursor , data = self . scan ( cursor = cursor , match = match , count = count ) for item in data : yield item