def deserialize(self, data):
    revoke_event_data = msgpackutils.loads(data, registry=self._registry)
    revoke_event = RevokeEvent(**revoke_event_data)
    return revoke_event
def deserialize(self, data):
    revoke_event_data = msgpackutils.loads(data, registry=self._registry)
    revoke_event = RevokeEvent(**revoke_event_data)
    return revoke_event