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
)
| 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 |
no outgoing calls