Skip to content

Commit bc1817d

Browse files
committed
tmp: try sth
1 parent 088c8c9 commit bc1817d

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/binding/python/Attributable.cpp

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)