Skip to content

Commit d8109c3

Browse files
authored
Add extra argument to Group::add_member
Add extra argument to Group::add_member Should fix the related error in TileDB-Inc/centralized-tiledb-nightlies#24
1 parent 33ff06d commit d8109c3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tiledb/cc/group.cc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,12 @@ void init_group(py::module &m) {
120120
.def("_get_key_from_index", get_key_from_index)
121121

122122
.def("_add", &Group::add_member, py::arg("uri"),
123-
py::arg("relative") = false, py::arg("name") = std::nullopt)
123+
py::arg("relative") = false, py::arg("name") = std::nullopt
124+
#if TILEDB_VERSION_MAJOR >= 2 && TILEDB_VERSION_MINOR >= 27
125+
,
126+
py::arg("type") = std::nullopt
127+
#endif
128+
)
124129
.def("_remove", &Group::remove_member)
125130
.def("_delete_group", &Group::delete_group)
126131
.def("_member_count", &Group::member_count)

0 commit comments

Comments
 (0)