MCPcopy
hub / github.com/feast-dev/feast / get_validation_reference

Method get_validation_reference

sdk/python/feast/feature_store.py:4126–4139  ·  view source on GitHub ↗

Retrieves a validation reference. Raises: ValidationReferenceNotFoundException: The validation reference could not be found.

(
        self, name: str, allow_cache: bool = False
    )

Source from the content-addressed store, hash-verified

4124 return None
4125
4126 def get_validation_reference(
4127 self, name: str, allow_cache: bool = False
4128 ) -> ValidationReference:
4129 """
4130 Retrieves a validation reference.
4131
4132 Raises:
4133 ValidationReferenceNotFoundException: The validation reference could not be found.
4134 """
4135 ref = self.registry.get_validation_reference(
4136 name, project=self.project, allow_cache=allow_cache
4137 )
4138 ref._dataset = self.get_saved_dataset(ref.dataset_name)
4139 return ref
4140
4141 def list_validation_references(
4142 self, allow_cache: bool = False, tags: Optional[dict[str, str]] = None

Callers 2

Calls 1

get_saved_datasetMethod · 0.95

Tested by

no test coverage detected