def resource_url(resource, request, *elements, **kw):
 return request.resource_url(resource, *elements, **kw)

def resource_url ( resource , request , * elements , ** kw ) : return request . resource_url ( resource , * elements , ** kw )
this is a backwards compatibility function .