The .def and .def_property_readonly functions in PybindAdaptors.h should
construct the functions as method of the current class rather than as method of
pybind11:none(), which is an object and not even a class.
Depends On D117658
Paths
| Differential D117659
[mlir] Annotate methods on a correct class in PybindAdaptors.h ClosedPublic Authored by ftynse on Jan 19 2022, 4:45 AM.
Details Summary The .def and .def_property_readonly functions in PybindAdaptors.h should Depends On D117658
Diff Detail
Event TimelineHerald added subscribers: sdasgup3, wenzhicui, wrengr and 21 others. · View Herald TranscriptJan 19 2022, 4:45 AM This revision is now accepted and ready to land.Feb 21 2022, 4:03 AM This revision was landed with ongoing or failed builds.Feb 21 2022, 4:04 AM Closed by commit rG8b734798a55b: [mlir] Annotate methods on a correct class in PybindAdaptors.h (authored by ftynse). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 410266 mlir/include/mlir/Bindings/Python/PybindAdaptors.h
|