Try a simple do_get call.
()
| 1242 | |
| 1243 | @pytest.mark.pandas |
| 1244 | def test_do_get_ints_pandas(): |
| 1245 | """Try a simple do_get call.""" |
| 1246 | table = simple_ints_table() |
| 1247 | |
| 1248 | with ConstantFlightServer() as server, \ |
| 1249 | flight.connect(('localhost', server.port)) as client: |
| 1250 | data = client.do_get(flight.Ticket(b'ints')).read_pandas() |
| 1251 | assert list(data['some_ints']) == table.column(0).to_pylist() |
| 1252 | |
| 1253 | |
| 1254 | def test_flight_do_get_dicts(): |
nothing calls this directly
no test coverage detected