nph commented on issue #34017: URL: https://github.com/apache/arrow/issues/34017#issuecomment-1802756782
@lidavidm @jjerphan FYI the [docs](https://arrow.apache.org/docs/python/generated/pyarrow.flight.FlightStreamReader.html#pyarrow.flight.FlightStreamReader.read_chunk) for `FlightStreamReader.read_chunk` are still wrong. They currently show that `read_chunk` returns `tuple[FlightStreamChunk, Buffer | None]`, however it returns only a `FlightStreamChunk` instance. The `FlightStreamChunk` class supports tuple [unpacking](https://github.com/apache/arrow/blob/db19a358cdf2b550b741fc7574dea38a6e32261b/python/pyarrow/_flight.pyx#L973) into a `tuple[RecordBatch, Buffer | None]`, which is presumably why the original docstring showed this as the return type. Shall I open a new issue for this? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
