Skip to content

Commit 5dbb66e

Browse files
woopfeast-ci-bot
authored andcommitted
Fix Python SDK importer's ability to apply features (#135)
This commit fixes a bug where the key is being passed to the _apply_feature method, instead of the object. This causes a failure when trying to register that feature with Feast.
1 parent 5a6edc4 commit 5dbb66e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdk/python/feast/sdk/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def run(self, importer, name_override=None,
166166
self._apply_entity(importer.entity)
167167
if apply_features:
168168
for feature in importer.features:
169-
self._apply_feature(feature)
169+
self._apply_feature(importer.features[feature])
170170

171171
if importer.require_staging:
172172
print("Staging file to remote path {}"

0 commit comments

Comments
 (0)