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

Method DoExchange

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

Source from the content-addressed store, hash-verified

147}
148
149Status PyFlightServer::DoExchange(
150 const arrow::flight::ServerCallContext& context,
151 std::unique_ptr<arrow::flight::FlightMessageReader> reader,
152 std::unique_ptr<arrow::flight::FlightMessageWriter> writer) {
153 return SafeCallIntoPython([&] {
154 const Status status =
155 vtable_.do_exchange(server_.obj(), context, std::move(reader), std::move(writer));
156 RETURN_NOT_OK(CheckPyError());
157 return status;
158 });
159}
160
161Status PyFlightServer::DoAction(const arrow::flight::ServerCallContext& context,
162 const arrow::flight::Action& action,

Callers

nothing calls this directly

Calls 3

SafeCallIntoPythonFunction · 0.85
CheckPyErrorFunction · 0.85
do_exchangeMethod · 0.45

Tested by

no test coverage detected