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

Method get_flight_info

r/inst/demo_flight_server.py:72–78  ·  view source on GitHub ↗
(self, context, descriptor)

Source from the content-addressed store, hash-verified

70 yield self._make_flight_info(key, descriptor, table)
71
72 def get_flight_info(self, context, descriptor):
73 print("get_flight_info")
74 key = DemoFlightServer.descriptor_to_key(descriptor)
75 if key in self.flights:
76 table = self.flights[key]
77 return self._make_flight_info(key, descriptor, table)
78 raise KeyError('Flight not found.')
79
80 def do_put(self, context, descriptor, reader, writer):
81 print("do_put")

Callers

nothing calls this directly

Calls 3

_make_flight_infoMethod · 0.95
KeyErrorFunction · 0.85
descriptor_to_keyMethod · 0.45

Tested by

no test coverage detected