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

Method do_put

python/pyarrow/tests/test_flight.py:226–229  ·  view source on GitHub ↗
(self, context, descriptor, reader, writer)

Source from the content-addressed store, hash-verified

224 return flight.RecordBatchStream(self.last_message)
225
226 def do_put(self, context, descriptor, reader, writer):
227 if self.expected_schema:
228 assert self.expected_schema == reader.schema
229 self.last_message = reader.read_all()
230
231 def do_exchange(self, context, descriptor, reader, writer):
232 for chunk in reader:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected