Skip to content

Commit

Permalink
Rename var to tables
Browse files Browse the repository at this point in the history
Signed-off-by: Achal Shah <achals@gmail.com>
  • Loading branch information
achals committed Jul 12, 2021
1 parent bb42f37 commit 94388a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sdk/python/feast/feature_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,16 +257,16 @@ def apply(

@log_exceptions_and_usage
def teardown(self):
feature_defs: List[Union[FeatureView, FeatureTable]] = []
tables: List[Union[FeatureView, FeatureTable]] = []
feature_views = self.list_feature_views()
feature_tables = self._registry.list_feature_tables(self.project)

feature_defs.extend(feature_views)
feature_defs.extend(feature_tables)
tables.extend(feature_views)
tables.extend(feature_tables)

entities = self.list_entities()

self._get_provider().teardown_infra(self.project, feature_defs, entities)
self._get_provider().teardown_infra(self.project, tables, entities)
for feature_view in feature_views:
self.delete_feature_view(feature_view.name)
for feature_table in feature_tables:
Expand Down

0 comments on commit 94388a8

Please sign in to comment.