def _parse_state_proto(self, key_type, value):
    proto = self.STATE_PROTOS.get(key_type.lower())
    if proto:
        deserializer = get_proto_deserializer(proto)
        print(deserializer(value))
    else:
        raise AttributeError('Key not found on redis')
def _parse_state_proto(self, key_type, value):
    proto = self.STATE_PROTOS.get(key_type.lower())
    if proto:
        deserializer = get_proto_deserializer(proto)
        print(deserializer(value))
    else:
        raise AttributeError('Key not found on redis')