Tears down all local and cloud resources for the feature store.
(self)
| 1666 | warnings.warn(f"Failed to emit OpenLineage apply events: {e}") |
| 1667 | |
| 1668 | def teardown(self): |
| 1669 | """Tears down all local and cloud resources for the feature store.""" |
| 1670 | tables: List[BaseFeatureView] = [] |
| 1671 | tables.extend(self.list_feature_views()) |
| 1672 | tables.extend(self.list_label_views()) |
| 1673 | |
| 1674 | entities = self.list_entities() |
| 1675 | |
| 1676 | self._get_provider().teardown_infra(self.project, tables, entities) # type: ignore[arg-type] |
| 1677 | self.registry.teardown() |
| 1678 | |
| 1679 | def get_historical_features( |
| 1680 | self, |