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

Method ListFeatureViews

sdk/python/feast/registry_server.py:416–441  ·  view source on GitHub ↗
(
        self, request: RegistryServer_pb2.ListFeatureViewsRequest, context
    )

Source from the content-addressed store, hash-verified

414 return Empty()
415
416 def ListFeatureViews(
417 self, request: RegistryServer_pb2.ListFeatureViewsRequest, context
418 ):
419 paginated_feature_views, pagination_metadata = apply_pagination_and_sorting(
420 permitted_resources(
421 resources=cast(
422 list[FeastObject],
423 self.proxied_registry.list_feature_views(
424 project=request.project,
425 allow_cache=request.allow_cache,
426 tags=dict(request.tags),
427 skip_udf=True,
428 ),
429 ),
430 actions=AuthzedAction.DESCRIBE,
431 ),
432 pagination=request.pagination,
433 sorting=request.sorting,
434 )
435
436 return RegistryServer_pb2.ListFeatureViewsResponse(
437 feature_views=[
438 feature_view.to_proto() for feature_view in paginated_feature_views
439 ],
440 pagination=pagination_metadata,
441 )
442
443 def ListAllFeatureViews(
444 self, request: RegistryServer_pb2.ListAllFeatureViewsRequest, context

Callers

nothing calls this directly

Calls 4

permitted_resourcesFunction · 0.90
list_feature_viewsMethod · 0.45
to_protoMethod · 0.45

Tested by

no test coverage detected