Skip to content

Commit

Permalink
fix: Saved datasets no longer break CLI registry-dump command (feast-…
Browse files Browse the repository at this point in the history
…dev#3717)

fix: Access saved dataset proto correctly in list_saved_datasets

Signed-off-by: Malcolm Keyes <[email protected]>
  • Loading branch information
malcolmk181 authored and james-crabtree-sp committed Sep 14, 2023
1 parent e6730df commit b536cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/feast/infra/registry/proto_registry_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def list_saved_datasets(
) -> List[SavedDataset]:
saved_datasets = []
for saved_dataset in registry_proto.saved_datasets:
if saved_dataset.project == project:
if saved_dataset.spec.project == project:
saved_datasets.append(SavedDataset.from_proto(saved_dataset))
return saved_datasets

Expand Down

0 comments on commit b536cdb

Please sign in to comment.