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

Function test_streaming_do_action

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

Source from the content-addressed store, hash-verified

1992
1993
1994def test_streaming_do_action():
1995 with ConvenienceServer() as server, \
1996 FlightClient(('localhost', server.port)) as client:
1997 results = client.do_action(flight.Action('forever', b''))
1998 assert next(results).body == b'foo'
1999 # Implicit cancel when destructed
2000 del results
2001
2002
2003def 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