(self, request: RegistryServer_pb2.UpdateInfraRequest, context)
| 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( |
nothing calls this directly
no test coverage detected