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

Method get_feature_service

sdk/python/feast/feature_store.py:704–720  ·  view source on GitHub ↗

Retrieves a feature service. Args: name: Name of feature service. allow_cache: Whether to allow returning feature services from a cached registry. Returns: The specified feature service. Raises: FeatureServiceNotFoun

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

Source from the content-addressed store, hash-verified

702 )
703
704 def get_feature_service(
705 self, name: str, allow_cache: bool = False
706 ) -> FeatureService:
707 """
708 Retrieves a feature service.
709
710 Args:
711 name: Name of feature service.
712 allow_cache: Whether to allow returning feature services from a cached registry.
713
714 Returns:
715 The specified feature service.
716
717 Raises:
718 FeatureServiceNotFoundException: The feature service could not be found.
719 """
720 return self.registry.get_feature_service(name, self.project, allow_cache)
721
722 def get_feature_view(
723 self, name: str, allow_registry_cache: bool = False

Calls

no outgoing calls