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

Function test_get_flight_info

python/pyarrow/tests/test_flight_async.py:74–80  ·  view source on GitHub ↗
(async_client)

Source from the content-addressed store, hash-verified

72
73
74def test_get_flight_info(async_client):
75 async def _test():
76 descriptor = flight.FlightDescriptor.for_command(b"simple")
77 info = await async_client.get_flight_info(descriptor)
78 assert info == ExampleServer.simple_info
79
80 asyncio.run(_test())
81
82
83def test_get_flight_info_error(async_client):

Callers

nothing calls this directly

Calls 2

_testFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected