def get_event_ids(storage):
    'Get the highest event id from the entities and the eventid of the most recent event\n\n    :param storage: GOB (events + entities)\n    :return:highest entity eventid and last eventid\n    '
    with storage.get_session():
        entity_max_eventid = storage.get_entity_max_eventid()
        last_eventid = storage.get_last_eventid()
        return (entity_max_eventid, last_eventid)
Get the highest event id from the entities and the eventid of the most recent event

:param storage: GOB (events + entities)
:return:highest entity eventid and last eventid
def get_event_ids(storage):
    'Get the highest event id from the entities and the eventid of the most recent event\n\n    :param storage: GOB (events + entities)\n    :return:highest entity eventid and last eventid\n    '
    with storage.get_session():
        entity_max_eventid = storage.get_entity_max_eventid()
        last_eventid = storage.get_last_eventid()
        return (entity_max_eventid, last_eventid)