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

Function test_async_support_property

python/pyarrow/tests/test_flight_async.py:65–71  ·  view source on GitHub ↗
(flight_client)

Source from the content-addressed store, hash-verified

63
64
65def test_async_support_property(flight_client):
66 assert isinstance(flight_client.supports_async, bool)
67 if flight_client.supports_async:
68 flight_client.as_async()
69 else:
70 with pytest.raises(NotImplementedError):
71 flight_client.as_async()
72
73
74def test_get_flight_info(async_client):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected