Skip to content

Commit 55e28e2

Browse files
hao-affirmadchia
authored andcommitted
fix: Stream feature view not shown in the UI (#3251)
fix stream feature view not shown in the UI Signed-off-by: hao-affirm <[email protected]> Signed-off-by: hao-affirm <[email protected]>
1 parent ede5c56 commit 55e28e2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sdk/python/feast/infra/registry/base_registry.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,13 @@ def to_dict(self, project: str) -> Dict[str, List[Any]]:
634634
registry_dict["requestFeatureViews"].append(
635635
self._message_to_sorted_dict(request_feature_view.to_proto())
636636
)
637+
for stream_feature_view in sorted(
638+
self.list_stream_feature_views(project=project),
639+
key=lambda stream_feature_view: stream_feature_view.name,
640+
):
641+
registry_dict["streamFeatureViews"].append(
642+
self._message_to_sorted_dict(stream_feature_view.to_proto())
643+
)
637644
for saved_dataset in sorted(
638645
self.list_saved_datasets(project=project), key=lambda item: item.name
639646
):

0 commit comments

Comments
 (0)