Skip to content

Commit 7e963b9

Browse files
committed
more fixes
Signed-off-by: Achal Shah <achals@gmail.com>
1 parent 8444039 commit 7e963b9

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

sdk/python/feast/feature_store.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -182,13 +182,10 @@ def refresh_registry(self):
182182
downloaded synchronously, which may increase latencies if the triggering method is get_online_features().
183183
"""
184184
registry_config = self.config.get_registry_config()
185-
if registry_config.registry_type == "sql":
186-
self._registry = SqlRegistry(registry_config, None)
187-
else:
188-
r = Registry(registry_config, repo_path=self.repo_path)
189-
r._initialize_registry()
190-
self._registry = r
191-
self._registry.refresh()
185+
registry = Registry(registry_config, repo_path=self.repo_path)
186+
registry.refresh()
187+
188+
self._registry = registry
192189

193190
@log_exceptions_and_usage
194191
def list_entities(self, allow_cache: bool = False) -> List[Entity]:

0 commit comments

Comments
 (0)