MCPcopy Create free account
hub / github.com/feast-dev/feast / get_flight_info

Method get_flight_info

sdk/python/feast/offline_server.py:120–126  ·  view source on GitHub ↗
(
        self, context: fl.ServerCallContext, descriptor: fl.FlightDescriptor
    )

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

_make_flight_infoMethod · 0.95
descriptor_to_keyMethod · 0.80

Tested by

no test coverage detected