Set pybind to use new un-deprecated `delete_array` overload
@@ -146,7 +146,13 @@ void init_array(py::module &m) {
return py::make_tuple(has_it, has_type);
})
.def("metadata_num", &Array::metadata_num)
+#if TILEDB_VERSION_MAJOR >= 2 && TILEDB_VERSION_MINOR >= 15
+ .def("delete_array",
+ py::overload_cast<const Context &, const std::string &>(
+ &Array::delete_array));
+#else
.def("delete_array", &Array::delete_array);
+#endif
}
} // namespace libtiledbcpp
