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

Method do_get

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

Source from the content-addressed store, hash-verified

2424 """A server for testing StopToken."""
2425
2426 def do_get(self, context, ticket):
2427 schema = pa.schema([])
2428 rb = pa.RecordBatch.from_arrays([], schema=schema)
2429 return flight.GeneratorStream(schema, itertools.repeat(rb))
2430
2431 def do_exchange(self, context, descriptor, reader, writer):
2432 schema = pa.schema([])

Callers

nothing calls this directly

Calls 1

schemaMethod · 0.45

Tested by

no test coverage detected