Skip to content

Commit

Permalink
fix: Stream feature view not shown in the UI (#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 and adchia committed Sep 30, 2022
1 parent ede5c56 commit 55e28e2
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 55e28e2

Please sign in to comment.