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

Method GetAnyFeatureView

sdk/python/feast/registry_server.py:328–347  ·  view source on GitHub ↗
(
        self, request: RegistryServer_pb2.GetAnyFeatureViewRequest, context
    )

Source from the content-addressed store, hash-verified

326 ).to_proto()
327
328 def GetAnyFeatureView(
329 self, request: RegistryServer_pb2.GetAnyFeatureViewRequest, context
330 ):
331 feature_view = assert_permissions(
332 cast(
333 FeastObject,
334 self.proxied_registry.get_any_feature_view(
335 name=request.name,
336 project=request.project,
337 allow_cache=request.allow_cache,
338 ),
339 ),
340 actions=[AuthzedAction.DESCRIBE],
341 )
342
343 return RegistryServer_pb2.GetAnyFeatureViewResponse(
344 any_feature_view=_build_any_feature_view_proto(
345 cast(BaseFeatureView, feature_view)
346 )
347 )
348
349 def ApplyFeatureView(
350 self, request: RegistryServer_pb2.ApplyFeatureViewRequest, context

Callers

nothing calls this directly

Calls 3

assert_permissionsFunction · 0.90
get_any_feature_viewMethod · 0.45

Tested by

no test coverage detected