Skip to content

Commit

Permalink
Add extra argument to Group::add_member
Browse files Browse the repository at this point in the history
Add extra argument to Group::add_member

Should fix the related error in TileDB-Inc/centralized-tiledb-nightlies#24
  • Loading branch information
kounelisagis authored Oct 18, 2024
1 parent 33ff06d commit d8109c3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tiledb/cc/group.cc
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,12 @@ void init_group(py::module &m) {
.def("_get_key_from_index", get_key_from_index)

.def("_add", &Group::add_member, py::arg("uri"),
py::arg("relative") = false, py::arg("name") = std::nullopt)
py::arg("relative") = false, py::arg("name") = std::nullopt
#if TILEDB_VERSION_MAJOR >= 2 && TILEDB_VERSION_MINOR >= 27
,
py::arg("type") = std::nullopt
#endif
)
.def("_remove", &Group::remove_member)
.def("_delete_group", &Group::delete_group)
.def("_member_count", &Group::member_count)
Expand Down

0 comments on commit d8109c3

Please sign in to comment.