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

Method PyServerMiddlewareFactory

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

Source from the content-addressed store, hash-verified

267// Flight Server Middleware
268
269PyServerMiddlewareFactory::PyServerMiddlewareFactory(PyObject* factory,
270 StartCallCallback start_call)
271 : start_call_(start_call) {
272 Py_INCREF(factory);
273 factory_.reset(factory);
274}
275
276Status PyServerMiddlewareFactory::StartCall(
277 const arrow::flight::CallInfo& info, const arrow::flight::ServerCallContext& context,

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected