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

Method DoExchange

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

Source from the content-addressed store, hash-verified

141}
142
143Status PyFlightServer::DoExchange(
144 const arrow::flight::ServerCallContext& context,
145 std::unique_ptr<arrow::flight::FlightMessageReader> reader,
146 std::unique_ptr<arrow::flight::FlightMessageWriter> writer) {
147 return SafeCallIntoPython([&] {
148 const Status status =
149 vtable_.do_exchange(server_.obj(), context, std::move(reader), std::move(writer));
150 RETURN_NOT_OK(CheckPyError());
151 return status;
152 });
153}
154
155Status PyFlightServer::DoAction(const arrow::flight::ServerCallContext& context,
156 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