MCPcopy Create free account
hub / github.com/apache/arrow / Next

Method Next

python/pyarrow/src/arrow/python/flight.cc:215–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215arrow::Result<std::unique_ptr<arrow::flight::Result>> PyFlightResultStream::Next() {
216 return SafeCallIntoPython(
217 [=]() -> arrow::Result<std::unique_ptr<arrow::flight::Result>> {
218 std::unique_ptr<arrow::flight::Result> result;
219 const Status status = callback_(generator_.obj(), &result);
220 RETURN_NOT_OK(CheckPyError());
221 RETURN_NOT_OK(status);
222 return result;
223 });
224}
225
226PyFlightDataStream::PyFlightDataStream(
227 PyObject* data_source, std::unique_ptr<arrow::flight::FlightDataStream> stream)

Callers

nothing calls this directly

Calls 2

SafeCallIntoPythonFunction · 0.85
CheckPyErrorFunction · 0.85

Tested by

no test coverage detected