(self, context, criteria)
| 157 | self.options = options |
| 158 | |
| 159 | def list_flights(self, context, criteria): |
| 160 | if criteria == self.CRITERIA: |
| 161 | yield flight.FlightInfo( |
| 162 | pa.schema([]), |
| 163 | flight.FlightDescriptor.for_path('/foo'), |
| 164 | [] |
| 165 | ) |
| 166 | |
| 167 | def do_get(self, context, ticket): |
| 168 | # Return a fresh table, so that Flight is the only one keeping a |