def METHOD_NAME(
    calendar: Calendar, change_notifications: List[MsGraphChangeNotification],
) -> None:
    deleted_event_uids = [
        change_notification["resourceData"]["id"]
        for change_notification in change_notifications
        if change_notification.get("changeType") == "deleted"
    ]
    if not deleted_event_uids:
        return
    with session_scope(calendar.namespace_id) as db_session:
        deleted_events = (
            db_session.query(Event)
            .filter(
                Event.namespace_id == calendar.namespace_id,
                Event.calendar_id == calendar.id,
                Event.uid.in_(deleted_event_uids),
            )
            .all()
        )
        if not deleted_events:
            return
        for deleted_event in deleted_events:
            deleted_event.status = "cancelled"
            if isinstance(deleted_event, RecurringEvent):
                for override in deleted_event.overrides:
                    override.status = "cancelled"
        db_session.commit()