Skip to content

Commit

Permalink
fix: Stream feature view not shown in the UI (feast-dev#3251)
Browse files Browse the repository at this point in the history
fix stream feature view not shown in the UI

Signed-off-by: hao-affirm <104030690+hao-affirm@users.noreply.github.com>

Signed-off-by: hao-affirm <104030690+hao-affirm@users.noreply.github.com>
  • Loading branch information
hao-affirm authored Sep 27, 2022
1 parent 0ad7fe3 commit e713dda
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sdk/python/feast/infra/registry/base_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,13 @@ def to_dict(self, project: str) -> Dict[str, List[Any]]:
registry_dict["requestFeatureViews"].append(
self._message_to_sorted_dict(request_feature_view.to_proto())
)
for stream_feature_view in sorted(
self.list_stream_feature_views(project=project),
key=lambda stream_feature_view: stream_feature_view.name,
):
registry_dict["streamFeatureViews"].append(
self._message_to_sorted_dict(stream_feature_view.to_proto())
)
for saved_dataset in sorted(
self.list_saved_datasets(project=project), key=lambda item: item.name
):
Expand Down

0 comments on commit e713dda

Please sign in to comment.