(self, context, ticket)
| 179 | self.options = options |
| 180 | |
| 181 | def do_get(self, context, ticket): |
| 182 | data = [ |
| 183 | pa.array([-10, -5, 0, 5, 10]) |
| 184 | ] |
| 185 | table = pa.Table.from_arrays(data, names=['a']) |
| 186 | return flight.GeneratorStream( |
| 187 | table.schema, |
| 188 | self.number_batches(table), |
| 189 | options=self.options) |
| 190 | |
| 191 | def do_put(self, context, descriptor, reader, writer): |
| 192 | counter = 0 |
nothing calls this directly
no test coverage detected