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 <malcolm.a.keyes@gmail.com>
  • Loading branch information
malcolmk181 authored Sep 7, 2023
1 parent 0049356 commit f28ccc2
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 f28ccc2

Please sign in to comment.