def get_events(object_key: str) -> List[Event]:
    """Get list of events for the object with the specified key."""
    events_data = _get_events_data(object_key)
    return [Event.from_config(event_dict) for event_dict in events_data]
def get_events ( object_key : str ) -> List [ Event ] : events_data = _get_events_data ( object_key ) return [ Event . from_config ( event_dict ) for event_dict in events_data ]
Get list of events for the object with the specified key.