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

Method list_actions

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

Source from the content-addressed store, hash-verified

92 return pyarrow.flight.RecordBatchStream(self.flights[key])
93
94 def list_actions(self, context):
95 return [
96 ("clear", "Clear the stored flights."),
97 ("shutdown", "Shut down this server."),
98 ]
99
100 def do_action(self, context, action):
101 if action.type == "clear":

Callers 1

list_flightsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected