'Determine the string representation of the allowed request rate.'

def get_rate(self):

    if (not getattr(self, u'scope', None)):
        msg = (u"You    must    set    either    `.scope`    or    `.rate`    for    '%s'    throttle" % self.__class__.__name__)
        raise ImproperlyConfigured(msg)
    try:
        return self.THROTTLE_RATES[self.scope]
    except KeyError:
        msg = (u"No    default    throttle    rate    set    for    '%s'    scope" % self.scope)
        raise ImproperlyConfigured(msg)
