()
| 399 | |
| 400 | @staticmethod |
| 401 | def slow_stream(): |
| 402 | data1 = [pa.array([-10, -5, 0, 5, 10], type=pa.int32())] |
| 403 | yield pa.Table.from_arrays(data1, names=['a']) |
| 404 | # The second message should never get sent; the client should |
| 405 | # cancel before we send this |
| 406 | time.sleep(10) |
| 407 | yield pa.Table.from_arrays(data1, names=['a']) |
| 408 | |
| 409 | |
| 410 | class ErrorFlightServer(FlightServerBase): |