code: def decorate(self, func, limit=0, ttl=0, *anoop, **kwnoop):
          
          self.limit = int(limit)
          self.ttl = int(ttl)
          return super(RateLimitDecorator, self).decorate(func, target=None, *anoop, **kwnoop)
docs: see target for an explanation of limit and ttl