MCPcopy Index your code
hub / github.com/feast-dev/feast / GetInfra

Method GetInfra

sdk/python/feast/registry_server.py:1009–1016  ·  view source on GitHub ↗
(self, request: RegistryServer_pb2.GetInfraRequest, context)

Source from the content-addressed store, hash-verified

1007 return Empty()
1008
1009 def GetInfra(self, request: RegistryServer_pb2.GetInfraRequest, context):
1010 project = self.proxied_registry.get_project(
1011 name=request.project, allow_cache=True
1012 )
1013 assert_permissions(resource=project, actions=[AuthzedAction.DESCRIBE])
1014 return self.proxied_registry.get_infra(
1015 project=request.project, allow_cache=request.allow_cache
1016 ).to_proto()
1017
1018 def ApplyPermission(
1019 self, request: RegistryServer_pb2.ApplyPermissionRequest, context

Callers

nothing calls this directly

Calls 4

assert_permissionsFunction · 0.90
get_projectMethod · 0.45
to_protoMethod · 0.45
get_infraMethod · 0.45

Tested by

no test coverage detected