'Set bucket amount.
Args:
bucket: quota bucket as string.
amount: new bucket amount as int.'

def set(self, bucket, amount):

    self.memcache_client.set(bucket, (amount + _OFFSET), namespace=_QUOTA_NAMESPACE)
