Arrow PyCapsule TypeError: __arrow_c_stream__() missing 1 required positional argument: 'requested_schema' #17921
Closed
2 tasks done
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
I noticed that the implementation of the PyArrow Capsule interface in #17676 makes the
requested_schema
argument required, although the PyCapsule interface has this default toNone
https://arrow.apache.org/docs/dev/format/CDataInterface/PyCapsuleInterface.html#arrow_c_stream__
@kylebarron
Log output
No response
Issue description
Interface is inconsistent with what pandas and pyarrow have already implemented
Expected behavior
requested_schema
argument should be optionalInstalled versions
latest release
The text was updated successfully, but these errors were encountered: