Skip to main content

ARRAY_STREAM_INPUT_TYPE

Constant ARRAY_STREAM_INPUT_TYPE 

Source
pub(crate) const ARRAY_STREAM_INPUT_TYPE: PyStaticExpr;
Expand description

The type hint shared by every conversion that imports through the ArrowArrayStream PyCapsule interface, i.e. [ArrowArrayStreamReader] and Table.

Both go through the same __arrow_c_stream__ path and therefore accept exactly the same objects, so naming only one of the two classes would make a stub generator reject usage this crate’s own documentation recommends — importing a pyarrow.Table as a PyArrowType<ArrowArrayStreamReader>.