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

Method UpdateInfra

sdk/python/feast/registry_server.py:997–1007  ·  view source on GitHub ↗
(self, request: RegistryServer_pb2.UpdateInfraRequest, context)

Source from the content-addressed store, hash-verified

995 return Empty()
996
997 def UpdateInfra(self, request: RegistryServer_pb2.UpdateInfraRequest, context):
998 project = self.proxied_registry.get_project(
999 name=request.project, allow_cache=True
1000 )
1001 assert_permissions(resource=project, actions=[AuthzedAction.UPDATE])
1002 self.proxied_registry.update_infra(
1003 infra=Infra.from_proto(request.infra),
1004 project=request.project,
1005 commit=request.commit,
1006 )
1007 return Empty()
1008
1009 def GetInfra(self, request: RegistryServer_pb2.GetInfraRequest, context):
1010 project = self.proxied_registry.get_project(

Callers

nothing calls this directly

Calls 4

assert_permissionsFunction · 0.90
get_projectMethod · 0.45
update_infraMethod · 0.45
from_protoMethod · 0.45

Tested by

no test coverage detected