#NEWLINE# @ query #NEWLINE# def __iter__( self ) : #NEWLINE# #INDENT# 'Iterates over its :meth:`keys()`.\n\n        :returns: the iterator which yields its keys\n        :rtype: :class:`collections.Iterator`\n\n        .. note::\n\n           It is directly mapped to Redis :redis:`HKEYS` command.\n\n        ' #NEWLINE# keys = self . session . client . hkeys ( keys . key ) #NEWLINE# decode = self . key_type . decode #NEWLINE# for key in keys : #NEWLINE# #INDENT# ( yield decode ( key ) )