def METHOD_NAME(self, key: int) -> Optional[BaseEvent]:
    if key < 0:
        raise ValueError(f'event.id \'{key}\' must be non-negative')
    event = self._db.get((self._cf_event, int_to_bytes(key, 8)))
    if event is None:
        return None
    return BaseEvent.parse_raw(event)