def METHOD_NAME(session):
    event_locs, _ = zip(*c.EVENT_LOCATION_OPTS)
    for e in dump['events']:
        if e['location'] in event_locs:
            e['start_time'] = offset_to_datetime(e['start_time'])
            panelists = e.pop('panelists')
            event = Event(**e)
            session.add(event)
            for secret_id in panelists:
                session.add(AssignedPanelist(event=event, attendee=attendees[secret_id]))