(
self, request: RegistryServer_pb2.ListLabelViewsRequest, context
)
| 692 | ).to_proto() |
| 693 | |
| 694 | def ListLabelViews( |
| 695 | self, request: RegistryServer_pb2.ListLabelViewsRequest, context |
| 696 | ): |
| 697 | paginated_label_views, pagination_metadata = apply_pagination_and_sorting( |
| 698 | permitted_resources( |
| 699 | resources=cast( |
| 700 | list[FeastObject], |
| 701 | self.proxied_registry.list_label_views( |
| 702 | project=request.project, |
| 703 | allow_cache=request.allow_cache, |
| 704 | tags=dict(request.tags), |
| 705 | ), |
| 706 | ), |
| 707 | actions=AuthzedAction.DESCRIBE, |
| 708 | ), |
| 709 | pagination=request.pagination, |
| 710 | sorting=request.sorting, |
| 711 | ) |
| 712 | |
| 713 | return RegistryServer_pb2.ListLabelViewsResponse( |
| 714 | label_views=[label_view.to_proto() for label_view in paginated_label_views], |
| 715 | pagination=pagination_metadata, |
| 716 | ) |
| 717 | |
| 718 | def ApplyFeatureService( |
| 719 | self, request: RegistryServer_pb2.ApplyFeatureServiceRequest, context |
nothing calls this directly
no test coverage detected