(
self, request: RegistryServer_pb2.ApplyFeatureServiceRequest, context
)
| 716 | ) |
| 717 | |
| 718 | def ApplyFeatureService( |
| 719 | self, request: RegistryServer_pb2.ApplyFeatureServiceRequest, context |
| 720 | ): |
| 721 | feature_service = cast( |
| 722 | FeatureService, |
| 723 | assert_permissions_to_update( |
| 724 | resource=FeatureService.from_proto(request.feature_service), |
| 725 | getter=self.proxied_registry.get_feature_service, |
| 726 | project=request.project, |
| 727 | ), |
| 728 | ) |
| 729 | self.proxied_registry.apply_feature_service( |
| 730 | feature_service=feature_service, |
| 731 | project=request.project, |
| 732 | commit=request.commit, |
| 733 | ) |
| 734 | |
| 735 | return Empty() |
| 736 | |
| 737 | def GetFeatureService( |
| 738 | self, request: RegistryServer_pb2.GetFeatureServiceRequest, context |
nothing calls this directly
no test coverage detected