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

Method __init__

python/examples/flight/middleware.py:88–95  ·  view source on GitHub ↗
(self, delegate, **kwargs)

Source from the content-addressed store, hash-verified

86
87class FlightServer(flight.FlightServerBase):
88 def __init__(self, delegate, **kwargs):
89 super().__init__(**kwargs)
90 if delegate:
91 self.delegate = flight.connect(
92 delegate,
93 middleware=(TracingClientMiddlewareFactory(),))
94 else:
95 self.delegate = None
96
97 def list_actions(self, context):
98 return [

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected