(
self, context: fl.ServerCallContext, descriptor: fl.FlightDescriptor
)
| 118 | @inject_user_details_decorator |
| 119 | @arrow_server_error_handling_decorator |
| 120 | def get_flight_info( |
| 121 | self, context: fl.ServerCallContext, descriptor: fl.FlightDescriptor |
| 122 | ): |
| 123 | key = OfflineServer.descriptor_to_key(descriptor) |
| 124 | if key in self.flights: |
| 125 | return self._make_flight_info(key, descriptor) |
| 126 | raise KeyError("Flight not found.") |
| 127 | |
| 128 | # Expects to receive request parameters and stores them in the flights dictionary |
| 129 | # Indexed by the unique command |
nothing calls this directly
no test coverage detected