MCPcopy
hub / github.com/feast-dev/feast / ListLabelViews

Method ListLabelViews

sdk/python/feast/registry_server.py:694–716  ·  view source on GitHub ↗
(
        self, request: RegistryServer_pb2.ListLabelViewsRequest, context
    )

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 4

permitted_resourcesFunction · 0.90
list_label_viewsMethod · 0.45
to_protoMethod · 0.45

Tested by

no test coverage detected