[Mlir-commits] [mlir] [MLIR][Python] Add a DSL for defining dialects in Python bindings (PR #169045)
Maksim Levental
llvmlistbot at llvm.org
Sat Jan 24 20:41:20 PST 2026
================
@@ -957,7 +957,7 @@ class MLIR_PYTHON_API_EXPORTED PyConcreteType : public BaseTy {
}
static void bind(nanobind::module_ &m) {
- auto cls = ClassTy(m, DerivedTy::pyClassName);
+ auto cls = ClassTy(m, DerivedTy::pyClassName, nanobind::is_generic());
----------------
makslevental wrote:
after offline discussion - this is really cool!
https://github.com/llvm/llvm-project/pull/169045
More information about the Mlir-commits
mailing list