From 7ece0150677767b148ed17666ba48d5bb7c18e41 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Wed, 30 Oct 2024 15:00:02 +0100 Subject: [PATCH] Remove redundant code from get_feature_store --- python/hopsworks_common/connection.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/python/hopsworks_common/connection.py b/python/hopsworks_common/connection.py index 064716182..43a64bc76 100644 --- a/python/hopsworks_common/connection.py +++ b/python/hopsworks_common/connection.py @@ -164,11 +164,6 @@ def get_feature_store( # Returns `FeatureStore`. A feature store handle object to perform operations on. """ - # Ensure the engine is initialized and of right type - from hsfs import engine as hsfs_engine - - hsfs_engine.get_instance() - if not name: name = client.get_instance()._project_name return self._feature_store_api.get(util.append_feature_store_suffix(name))