(self, scope=None)
return (
            (rate_counter.key, rate_counter.get((self.feature_key,) + scope), limit)
            for rate_counter, limit in self.get_rate_limits(*scope)
        )
Get generator of (key, current rate, rate limit) as applies to scope

        e.g.
            ('week', 92359, 115000)
            ('day', ...)
            ...
Get generator of (key, current rate, rate limit) as applies to scope
Get generator of ( key current rate rate limit ) as applies to scope
def iter_rates(self, scope=None):
        """
        Get generator of (key, current rate, rate limit) as applies to scope

        e.g.
            ('week', 92359, 115000)
            ('day', ...)
            ...

        """
        scope = self.get_normalized_scope(scope)
        return (
            (rate_counter.key, rate_counter.get((self.feature_key,) + scope), limit)
            for rate_counter, limit in self.get_rate_limits(*scope)
        )
def iter_rates ( self , scope = None ) : scope = self . get_normalized_scope ( scope ) return ( ( rate_counter . key , rate_counter . get ( ( self . feature_key , ) + scope ) , limit ) for rate_counter , limit in self . get_rate_limits ( * scope ) )