diff --git a/sdk/python/feast/infra/compute_engines/kubernetes/main.py b/sdk/python/feast/infra/compute_engines/kubernetes/main.py index d80cad3edb3..7e45e597f8a 100644 --- a/sdk/python/feast/infra/compute_engines/kubernetes/main.py +++ b/sdk/python/feast/infra/compute_engines/kubernetes/main.py @@ -67,10 +67,10 @@ def run(self): logging.basicConfig(level=logging.INFO) with open("/var/feast/feature_store.yaml") as f: - feast_config = yaml.load(f, Loader=yaml.Loader) + feast_config = yaml.safe_load(f) with open("/var/feast/materialization_config.yaml") as b: - materialization_cfg = yaml.load(b, Loader=yaml.Loader) + materialization_cfg = yaml.safe_load(b) config = RepoConfig(**feast_config) store = FeatureStore(config=config) diff --git a/sdk/python/feast/protos/feast/core/FeatureService_pb2.pyi b/sdk/python/feast/protos/feast/core/FeatureService_pb2.pyi index 6d5879e52cb..91f04c1a7d6 100644 --- a/sdk/python/feast/protos/feast/core/FeatureService_pb2.pyi +++ b/sdk/python/feast/protos/feast/core/FeatureService_pb2.pyi @@ -71,7 +71,7 @@ class FeatureServiceSpec(google.protobuf.message.Message): """Name of Feast project that this Feature Service belongs to.""" @property def features(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.FeatureViewProjection_pb2.FeatureViewProjection]: - """Represents a projection that's to be applied on top of the FeatureView. + """Represents a projection that's to be applied on top of the FeatureView. Contains data such as the features to use from a FeatureView. """ @property