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

Class FailServer

python/pyarrow/tests/test_flight.py:2591–2596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2589 schema = pa.schema([("int64", pa.int64())])
2590
2591 class FailServer(flight.FlightServerBase):
2592 def do_put(self, context, descriptor, reader, writer):
2593 raise exc
2594
2595 def do_exchange(self, context, descriptor, reader, writer):
2596 raise exc
2597
2598 with FailServer() as server, \
2599 FlightClient(('localhost', server.port)) as client:

Callers 1

Calls

no outgoing calls

Tested by 1