(self, context, ticket)
| 2424 | """A server for testing StopToken.""" |
| 2425 | |
| 2426 | def do_get(self, context, ticket): |
| 2427 | schema = pa.schema([]) |
| 2428 | rb = pa.RecordBatch.from_arrays([], schema=schema) |
| 2429 | return flight.GeneratorStream(schema, itertools.repeat(rb)) |
| 2430 | |
| 2431 | def do_exchange(self, context, descriptor, reader, writer): |
| 2432 | schema = pa.schema([]) |