def get_resolver_for_permission_type(permission_type):
 resource_type = PermissionType.get_resource_type(permission_type=permission_type)
 resolver_instance = get_resolver_for_resource_type(resource_type=resource_type)
 return resolver_instance

def get_resolver_for_permission_type ( permission_type ) : resource_type = PermissionType . get_resource_type ( permission_type = permission_type ) resolver_instance = get_resolver_for_resource_type ( resource_type = resource_type ) return resolver_instance
return resolver instance for the provided permission type .