https://github.com/Endilll commented: Python part of this looks fine to me. We need to rename `fields_visit_callback` to something else, but that's not in the scope of this PR. https://github.com/llvm/llvm-project/pull/123539