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

Method do_get

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

Source from the content-addressed store, hash-verified

916 self._metadata = b' ' * (2 ** 31 + 1)
917
918 def do_get(self, context, ticket):
919 schema = pa.schema([('a', pa.int64())])
920 return flight.GeneratorStream(schema, [
921 (pa.record_batch([[1]], schema=schema), self._metadata),
922 ])
923
924 def do_exchange(self, context, descriptor, reader, writer):
925 writer.write_metadata(self._metadata)

Callers

nothing calls this directly

Calls 1

schemaMethod · 0.45

Tested by

no test coverage detected