def __iter__(self):
all_items = self.rdb.hgetall(self.session_hash)<EOL>for k, v in list(all_items.items()):<EOL><INDENT>yield (k.decode('<STR_LIT:utf-8>'),v.decode('<STR_LIT:utf-8>'))<EOL><DEDENT>
Iterate through the key,value pairs.

        Generates:
            (str, str): Key and value tuples in the dictionary.