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

Method StartCall

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

Source from the content-addressed store, hash-verified

274}
275
276Status PyServerMiddlewareFactory::StartCall(
277 const arrow::flight::CallInfo& info, const arrow::flight::ServerCallContext& context,
278 std::shared_ptr<arrow::flight::ServerMiddleware>* middleware) {
279 return SafeCallIntoPython([&] {
280 const Status status =
281 start_call_(factory_.obj(), info, context.incoming_headers(), middleware);
282 RETURN_NOT_OK(CheckPyError());
283 return status;
284 });
285}
286
287PyServerMiddleware::PyServerMiddleware(PyObject* middleware, Vtable vtable)
288 : vtable_(vtable) {

Callers

nothing calls this directly

Calls 3

SafeCallIntoPythonFunction · 0.85
CheckPyErrorFunction · 0.85
incoming_headersMethod · 0.80

Tested by

no test coverage detected