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

Method ListFlights

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

Source from the content-addressed store, hash-verified

93}
94
95Status PyFlightServer::ListFlights(
96 const arrow::flight::ServerCallContext& context,
97 const arrow::flight::Criteria* criteria,
98 std::unique_ptr<arrow::flight::FlightListing>* listings) {
99 return SafeCallIntoPython([&] {
100 const Status status =
101 vtable_.list_flights(server_.obj(), context, criteria, listings);
102 RETURN_NOT_OK(CheckPyError());
103 return status;
104 });
105}
106
107Status PyFlightServer::GetFlightInfo(const arrow::flight::ServerCallContext& context,
108 const arrow::flight::FlightDescriptor& request,

Callers

nothing calls this directly

Calls 3

SafeCallIntoPythonFunction · 0.85
CheckPyErrorFunction · 0.85
list_flightsMethod · 0.45

Tested by

no test coverage detected