pub fn build_py_proto(ast: &mut ItemImpl) -> TokenStream