Skip to content

Commit d11e65a

Browse files
committed
[FSTORE-1389][APPEND] move engine parameter to connection initialization
1 parent 8826a76 commit d11e65a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/hopsworks/project.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def get_feature_store(self, name: str = None, engine: str = None) -> feature_sto
142142
engine=engine,
143143
).get_feature_store(name)
144144
else:
145-
return connection().get_feature_store(name, engine=engine) # If internal client
145+
return connection(engine=engine).get_feature_store(name) # If internal client
146146

147147
def get_model_registry(self):
148148
"""Connect to Project's Model Registry API.

0 commit comments

Comments
 (0)