File tree Expand file tree Collapse file tree
apis/python/src/tiledbvcf/binding Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ using namespace tiledb::vcf;
4444 * @return py::object Arrow table
4545 */
4646py::object _buffer_to_table (std::shared_ptr<ArrayBuffers> buffers) {
47- auto pa = py::module ::import (" pyarrow" );
47+ auto pa = py::module_ ::import (" pyarrow" );
4848 auto pa_table_from_arrays = pa.attr (" Table" ).attr (" from_arrays" );
4949 auto pa_array_import = pa.attr (" Array" ).attr (" _import_from_c" );
5050 auto pa_schema_import = pa.attr (" Schema" ).attr (" _import_from_c" );
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ namespace py = pybind11;
3535using namespace py ::literals;
3636using namespace tiledb ::vcf;
3737
38- void load_sample_stats (py::module & m) {
38+ void load_sample_stats (py::module_ & m) {
3939 m.def (
4040 " sample_qc" ,
4141 [](const std::string& dataset_uri,
Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ void build_arrow_array_from_buffer(
316316}
317317
318318py::object buffers_to_table (std::vector<std::shared_ptr<BufferInfo>>& buffers) {
319- auto pa = py::module ::import (" pyarrow" );
319+ auto pa = py::module_ ::import (" pyarrow" );
320320 auto pa_table_from_arrays = pa.attr (" Table" ).attr (" from_arrays" );
321321 auto pa_array_import = pa.attr (" Array" ).attr (" _import_from_c" );
322322 auto pa_schema_import = pa.attr (" Schema" ).attr (" _import_from_c" );
You can’t perform that action at this time.
0 commit comments