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

Method do_get

r/inst/demo_flight_server.py:87–92  ·  view source on GitHub ↗
(self, context, ticket)

Source from the content-addressed store, hash-verified

85 print(self.flights[key])
86
87 def do_get(self, context, ticket):
88 print("do_get")
89 key = ast.literal_eval(ticket.ticket.decode())
90 if key not in self.flights:
91 return None
92 return pyarrow.flight.RecordBatchStream(self.flights[key])
93
94 def list_actions(self, context):
95 print("list_actions")

Callers 3

test_do_getMethod · 0.45
test_without_blockMethod · 0.45
test_executeMethod · 0.45

Calls 2

RecordBatchStreamMethod · 0.80
decodeMethod · 0.45

Tested by 3

test_do_getMethod · 0.36
test_without_blockMethod · 0.36
test_executeMethod · 0.36