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

Method get_label_view

sdk/python/feast/feature_store.py:649–667  ·  view source on GitHub ↗

Retrieves a label view by name. Args: name: Name of the label view. allow_registry_cache: Whether to allow returning the label view from a cached registry. Returns: The specified label view. Raises: FeatureViewNotFou

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

Source from the content-addressed store, hash-verified

647 )
648
649 def get_label_view(
650 self, name: str, allow_registry_cache: bool = False
651 ) -> LabelView:
652 """
653 Retrieves a label view by name.
654
655 Args:
656 name: Name of the label view.
657 allow_registry_cache: Whether to allow returning the label view from a cached registry.
658
659 Returns:
660 The specified label view.
661
662 Raises:
663 FeatureViewNotFoundException: The label view could not be found.
664 """
665 return self.registry.get_label_view(
666 name, self.project, allow_cache=allow_registry_cache
667 )
668
669 def list_data_sources(
670 self, allow_cache: bool = False, tags: Optional[dict[str, str]] = None

Callers 9

GetLabelViewMethod · 0.45
get_online_labelsFunction · 0.45
list_labelsFunction · 0.45
label_qualityFunction · 0.45
webhook_configFunction · 0.45
annotation_configFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected