llvm-project
ffd341d6 - [MLIR] [Python] Added a missing cast to `__repr__` in the adaptors (#182867)

Commit
15 hours ago
[MLIR] [Python] Added a missing cast to `__repr__` in the adaptors (#182867) Without it the return type is inferred as `nanobind::object` which results in invalid type stubs, since `__repr__` must return `str`.
Author
Parents
Loading