def get_last_change_for_doc_class(doc_class):
    db = doc_class.get_db()
    doc_type = doc_class._doc_type
    return (
        (change['id'], change['rev']) for change in get_recent_changes(db, 100)
        if change['doc_type'] == doc_type
    ).next()
return _id and _rev of the last doc of `doc_type` in changes feed
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/hqadmin/escheck.py/get_last_change_for_doc_class