async def METHOD_NAME(
    cls,
    session: ProfileSession,
    rev_reg_id: str,
) -> Sequence["RevNotificationRecord"]:
    """Retrieve revocation notification records by rev reg id.
    Args:
        session: the profile session to use
        rev_reg_id: the rev reg id by which to filter
    """
    tag_filter = {
        **{"version": "v1_0"},
        **{"rev_reg_id": rev_reg_id for _ in [""] if rev_reg_id},
    }
    return await cls.query(session, tag_filter)