From 055917dcb2bc34a1171d2f0ca8a3693dfa918945 Mon Sep 17 00:00:00 2001 From: nguyenv Date: Wed, 17 Jul 2024 11:04:30 -0500 Subject: [PATCH] [python] Hold onto GIL for open methods (#2800) --- apis/python/src/tiledbsoma/soma_dataframe.cc | 3 +-- apis/python/src/tiledbsoma/soma_dense_ndarray.cc | 3 +-- apis/python/src/tiledbsoma/soma_sparse_ndarray.cc | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/apis/python/src/tiledbsoma/soma_dataframe.cc b/apis/python/src/tiledbsoma/soma_dataframe.cc index e9cc40d303..ae4fda019c 100644 --- a/apis/python/src/tiledbsoma/soma_dataframe.cc +++ b/apis/python/src/tiledbsoma/soma_dataframe.cc @@ -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()) + "timestamp"_a = py::none()) .def_static( "exists", diff --git a/apis/python/src/tiledbsoma/soma_dense_ndarray.cc b/apis/python/src/tiledbsoma/soma_dense_ndarray.cc index 894a124527..de561477ad 100644 --- a/apis/python/src/tiledbsoma/soma_dense_ndarray.cc +++ b/apis/python/src/tiledbsoma/soma_dense_ndarray.cc @@ -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()) + "timestamp"_a = py::none()) .def_static( "exists", diff --git a/apis/python/src/tiledbsoma/soma_sparse_ndarray.cc b/apis/python/src/tiledbsoma/soma_sparse_ndarray.cc index 3051a563ea..6ca41a6951 100644 --- a/apis/python/src/tiledbsoma/soma_sparse_ndarray.cc +++ b/apis/python/src/tiledbsoma/soma_sparse_ndarray.cc @@ -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()) + "timestamp"_a = py::none()) .def_static( "exists",