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

Method descriptor_to_key

sdk/python/feast/offline_server.py:88–93  ·  view source on GitHub ↗
(self, descriptor: fl.FlightDescriptor)

Source from the content-addressed store, hash-verified

86
87 @classmethod
88 def descriptor_to_key(self, descriptor: fl.FlightDescriptor):
89 return (
90 descriptor.descriptor_type.value,
91 descriptor.command,
92 tuple(descriptor.path or tuple()),
93 )
94
95 def _make_flight_info(self, key: Any, descriptor: fl.FlightDescriptor):
96 if len(self.tls_certificates) != 0:

Callers 2

get_flight_infoMethod · 0.80
do_putMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected