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: FeatureViewNotFou
(
self, name: str, allow_registry_cache: bool = False
)
| 796 | return stream_feature_view |
| 797 | |
| 798 | def get_on_demand_feature_view( |
| 799 | self, name: str, allow_registry_cache: bool = False |
| 800 | ) -> OnDemandFeatureView: |
| 801 | """ |
| 802 | Retrieves a feature view. |
| 803 | |
| 804 | Args: |
| 805 | name: Name of feature view. |
| 806 | allow_registry_cache: (Optional) Whether to allow returning this entity from a cached registry |
| 807 | Returns: |
| 808 | The specified feature view. |
| 809 | |
| 810 | Raises: |
| 811 | FeatureViewNotFoundException: The feature view could not be found. |
| 812 | """ |
| 813 | return self.registry.get_on_demand_feature_view( |
| 814 | name, self.project, allow_cache=allow_registry_cache |
| 815 | ) |
| 816 | |
| 817 | def get_data_source(self, name: str) -> DataSource: |
| 818 | """ |
no outgoing calls