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

Method do_get

python/pyarrow/tests/test_flight.py:239–242  ·  view source on GitHub ↗
(self, context, ticket)

Source from the content-addressed store, hash-verified

237 """An echo server that streams individual record batches."""
238
239 def do_get(self, context, ticket):
240 return flight.GeneratorStream(
241 self.last_message.schema,
242 self.last_message.to_batches(max_chunksize=1024))
243
244 def list_actions(self, context):
245 return []

Callers

nothing calls this directly

Calls 1

to_batchesMethod · 0.80

Tested by

no test coverage detected