File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -614,14 +614,15 @@ void init_Attributable(py::module &m)
614614 // double, 7 > >)
615615
616616 // C++ pass-through API: Getter
617- .def (
618- " get_attribute" ,
619- [](Attributable &attr, std::string const &key) {
620- auto v = attr.getAttribute (key);
621- return v.getVariant <attribute_types>();
622- // TODO instead of returning lists, return all arrays (ndim > 0)
623- // as numpy arrays?
624- })
617+ // .def(
618+ // "get_attribute",
619+ // [](Attributable &attr, std::string const &key) {
620+ // auto v = attr.getAttribute(key);
621+ // return v.getVariant<attribute_types>();
622+ // // TODO instead of returning lists, return all arrays (ndim >
623+ // 0)
624+ // // as numpy arrays?
625+ // })
625626 .def_property_readonly (
626627 " attribute_dtypes" ,
627628 [](Attributable const &attributable) {
You can’t perform that action at this time.
0 commit comments