def _parse_hash_type(self, deserializer, key):
    value = self.client.hgetall(key)
    for (key, val) in value.items():
        print(key.decode('utf-8'))
        print(deserializer(val))
def _parse_hash_type(self, deserializer, key):
    value = self.client.hgetall(key)
    for (key, val) in value.items():
        print(key.decode('utf-8'))
        print(deserializer(val))