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

Method DeletePermission

sdk/python/feast/registry_server.py:1070–1084  ·  view source on GitHub ↗
(
        self, request: RegistryServer_pb2.DeletePermissionRequest, context
    )

Source from the content-addressed store, hash-verified

1068 )
1069
1070 def DeletePermission(
1071 self, request: RegistryServer_pb2.DeletePermissionRequest, context
1072 ):
1073 permission = self.proxied_registry.get_permission(
1074 name=request.name, project=request.project, allow_cache=False
1075 )
1076 assert_permissions(
1077 resource=permission,
1078 actions=[AuthzedAction.DELETE],
1079 )
1080 self.proxied_registry.delete_permission(
1081 name=request.name, project=request.project, commit=request.commit
1082 )
1083
1084 return Empty()
1085
1086 def ApplyProject(self, request: RegistryServer_pb2.ApplyProjectRequest, context):
1087 project = cast(

Callers

nothing calls this directly

Calls 3

assert_permissionsFunction · 0.90
get_permissionMethod · 0.45
delete_permissionMethod · 0.45

Tested by

no test coverage detected