Skip to content

Commit

Permalink
[python] Hold onto GIL for open methods (#2800)
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenv authored Jul 17, 2024
1 parent d9b6470 commit 055917d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions apis/python/src/tiledbsoma/soma_dataframe.cc
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ void load_soma_dataframe(py::module& m) {
py::kw_only(),
"column_names"_a = py::none(),
"result_order"_a = ResultOrder::automatic,
"timestamp"_a = py::none(),
py::call_guard<py::gil_scoped_release>())
"timestamp"_a = py::none())

.def_static(
"exists",
Expand Down
3 changes: 1 addition & 2 deletions apis/python/src/tiledbsoma/soma_dense_ndarray.cc
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ void load_soma_dense_ndarray(py::module& m) {
py::kw_only(),
"column_names"_a = py::none(),
"result_order"_a = ResultOrder::automatic,
"timestamp"_a = py::none(),
py::call_guard<py::gil_scoped_release>())
"timestamp"_a = py::none())

.def_static(
"exists",
Expand Down
3 changes: 1 addition & 2 deletions apis/python/src/tiledbsoma/soma_sparse_ndarray.cc
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ void load_soma_sparse_ndarray(py::module& m) {
py::kw_only(),
"column_names"_a = py::none(),
"result_order"_a = ResultOrder::automatic,
"timestamp"_a = py::none(),
py::call_guard<py::gil_scoped_release>())
"timestamp"_a = py::none())

.def_static(
"exists",
Expand Down

0 comments on commit 055917d

Please sign in to comment.