(method)
return property(_inner)
Helper for the various fully qualified application URLs
    Turns a method returning an unqualified URL
    into a property returning a fully qualified URL
    (e.g., '/my_url/' => 'https://www.commcarehq.org/my_url/')
    Expects `self.url_base` to be fully qualified url base
Helper for the various fully qualified application URLs
    Turns a method returning an unqualified URL
    into a property returning a fully qualified URL
    (e.g., '/my_url/' => 'https://www.commcarehq.org/my_url/')
    Expects `self.url_base` to be fully qualified url base
Helper for the various fully qualified application URLs Turns a method returning an unqualified URL into a property returning a fully qualified URL ( e . g . / my_url / = > https : // www . commcarehq . org / my_url / ) Expects self . url_base to be fully qualified url base
def absolute_url_property(method):
    """
    Helper for the various fully qualified application URLs
    Turns a method returning an unqualified URL
    into a property returning a fully qualified URL
    (e.g., '/my_url/' => 'https://www.commcarehq.org/my_url/')
    Expects `self.url_base` to be fully qualified url base

    """
    @wraps(method)
    def _inner(self):
        return "%s%s" % (self.url_base, method(self))
    return property(_inner)
def absolute_url_property ( method ) : @ wraps ( method ) def _inner ( self ) : return "%s%s" % ( self . url_base , method ( self ) ) return property ( _inner )