(self, context, action)
| 422 | } |
| 423 | |
| 424 | def do_action(self, context, action): |
| 425 | error_cases = ErrorFlightServer.error_cases() |
| 426 | if action.type in error_cases: |
| 427 | raise error_cases[action.type]("foo") |
| 428 | elif action.type == "protobuf": |
| 429 | err_msg = b'this is an error message' |
| 430 | raise flight.FlightUnauthorizedError("foo", err_msg) |
| 431 | raise NotImplementedError |
| 432 | |
| 433 | def list_flights(self, context, criteria): |
| 434 | yield flight.FlightInfo( |
nothing calls this directly
no test coverage detected