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

Method PyFlightDataStream

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

Source from the content-addressed store, hash-verified

224}
225
226PyFlightDataStream::PyFlightDataStream(
227 PyObject* data_source, std::unique_ptr<arrow::flight::FlightDataStream> stream)
228 : stream_(std::move(stream)) {
229 Py_INCREF(data_source);
230 data_source_.reset(data_source);
231}
232
233std::shared_ptr<Schema> PyFlightDataStream::schema() { return stream_->schema(); }
234

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected