Le 25/08/2021 à 17:27, Joris Van den Bossche a écrit :
https://github.com/rapidsai/cudf/blob/be25a30ca20f3135f341c51b36cb075b376d5def/python/cudf/cudf/_lib/cpp/io/types.pxd#L9

Here they are doing `from pyarrow.includes.libarrow cimport
CRandomAccessFile` (CRandomAccessFile is the cython equivalent of a public
C++ API, and thus also public?), but would we recommend `from pyarrow.lib
cimport CRandomAccessFile` instead?
Although for imports from `pyarrow.includes.libarrow_cuda` that would not
be possible.

Ah, that's a good point! Then we can make it official to use `pyarrow.includes.*` when importing C++ APIs.

Regards

Antoine.

Reply via email to