MCPcopy Index your code
hub / github.com/feast-dev/feast / from_proto

Method from_proto

sdk/python/feast/saved_dataset.py:50–54  ·  view source on GitHub ↗
(storage_proto: SavedDatasetStorageProto)

Source from the content-addressed store, hash-verified

48
49 @staticmethod
50 def from_proto(storage_proto: SavedDatasetStorageProto) -> "SavedDatasetStorage":
51 proto_attr_name = cast(str, storage_proto.WhichOneof("kind"))
52 return _StorageRegistry.classes_by_proto_attr_name[proto_attr_name].from_proto(
53 storage_proto
54 )
55
56 @abstractmethod
57 def to_proto(self) -> SavedDatasetStorageProto:

Callers

nothing calls this directly

Calls 1

from_protoMethod · 0.45

Tested by

no test coverage detected