Retrieves a feature view. Args: name: Name of feature view. allow_registry_cache: (Optional) Whether to allow returning this entity from a cached registry Returns: The specified feature view. Raises: FeatureViewNotFo
(
self, name: str, allow_registry_cache: bool = False
)
| 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 |
| 724 | ) -> FeatureView: |
| 725 | """ |
| 726 | Retrieves a feature view. |
| 727 | |
| 728 | Args: |
| 729 | name: Name of feature view. |
| 730 | allow_registry_cache: (Optional) Whether to allow returning this entity from a cached registry |
| 731 | |
| 732 | Returns: |
| 733 | The specified feature view. |
| 734 | |
| 735 | Raises: |
| 736 | FeatureViewNotFoundException: The feature view could not be found. |
| 737 | """ |
| 738 | return self._get_feature_view(name, allow_registry_cache=allow_registry_cache) |
| 739 | |
| 740 | def _get_feature_view( |
| 741 | self, |