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

Method list_flights

sdk/python/feast/offline_server.py:109–116  ·  view source on GitHub ↗
(self, context: fl.ServerCallContext, criteria: bytes)

Source from the content-addressed store, hash-verified

107 @inject_user_details_decorator
108 @arrow_server_error_handling_decorator
109 def list_flights(self, context: fl.ServerCallContext, criteria: bytes):
110 for key, table in self.flights.items():
111 if key[1] is not None:
112 descriptor = fl.FlightDescriptor.for_command(key[1])
113 else:
114 descriptor = fl.FlightDescriptor.for_path(*key[2])
115
116 yield self._make_flight_info(key, descriptor)
117
118 @inject_user_details_decorator
119 @arrow_server_error_handling_decorator

Callers 1

Calls 1

_make_flight_infoMethod · 0.95

Tested by 1