def reset(self):
        '''reset rates'''
        self.counts = {}
        self.buckets = []
        self.last_calc = time.time()
def reset ( self ) : self . counts = { } self . buckets = [ ] self . last_calc = time . time ( )
reset rates