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

Function test_streaming_do_action

python/pyarrow/tests/test_flight.py:1956–1962  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1954
1955
1956def test_streaming_do_action():
1957 with ConvenienceServer() as server, \
1958 FlightClient(('localhost', server.port)) as client:
1959 results = client.do_action(flight.Action('forever', b''))
1960 assert next(results).body == b'foo'
1961 # Implicit cancel when destructed
1962 del results
1963
1964
1965def test_roundtrip_types():

Callers

nothing calls this directly

Calls 3

FlightClientClass · 0.90
ConvenienceServerClass · 0.85
do_actionMethod · 0.45

Tested by

no test coverage detected