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

Method do_get

python/examples/flight/server.py:88–92  ·  view source on GitHub ↗
(self, context, ticket)

Source from the content-addressed store, hash-verified

86 print(self.flights[key])
87
88 def do_get(self, context, ticket):
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 return [

Callers 6

setupMethod · 0.45
test_successMethod · 0.45
test_errorMethod · 0.45
test_successMethod · 0.45
test_errorMethod · 0.45
get_flightFunction · 0.45

Calls 2

RecordBatchStreamMethod · 0.80
decodeMethod · 0.45

Tested by 5

setupMethod · 0.36
test_successMethod · 0.36
test_errorMethod · 0.36
test_successMethod · 0.36
test_errorMethod · 0.36