code: 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
docs: 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