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

Method list_flights

python/pyarrow/tests/test_flight.py:159–165  ·  view source on GitHub ↗
(self, context, criteria)

Source from the content-addressed store, hash-verified

157 self.options = options
158
159 def list_flights(self, context, criteria):
160 if criteria == self.CRITERIA:
161 yield flight.FlightInfo(
162 pa.schema([]),
163 flight.FlightDescriptor.for_path('/foo'),
164 []
165 )
166
167 def do_get(self, context, ticket):
168 # Return a fresh table, so that Flight is the only one keeping a

Callers

nothing calls this directly

Calls 1

schemaMethod · 0.45

Tested by

no test coverage detected