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

Class HeaderServerMiddleware

python/pyarrow/tests/test_flight.py:771–775  ·  view source on GitHub ↗

Expose a per-call value to the RPC method body.

Source from the content-addressed store, hash-verified

769
770
771class HeaderServerMiddleware(ServerMiddleware):
772 """Expose a per-call value to the RPC method body."""
773
774 def __init__(self, special_value):
775 self.special_value = special_value
776
777
778class HeaderServerMiddlewareFactory(ServerMiddlewareFactory):

Callers 2

start_callMethod · 0.85
start_callMethod · 0.85

Calls

no outgoing calls

Tested by 2

start_callMethod · 0.68
start_callMethod · 0.68