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

Method do_action

python/pyarrow/tests/test_flight.py:788–792  ·  view source on GitHub ↗
(self, context, action)

Source from the content-addressed store, hash-verified

786 """Echo back the per-call hard-coded value."""
787
788 def do_action(self, context, action):
789 middleware = context.get_middleware("test")
790 if middleware:
791 return [middleware.special_value.encode()]
792 return [b""]
793
794
795class MultiHeaderFlightServer(FlightServerBase):

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected