def __init__(self, name, count, flag=None):

        super(CountableResource, self).__init__(name, flag=flag)
        self.count = count
Allow to use decorator either with arguments or not. 
dataset/ETHPy150Open openstack/nova/nova/quota.py/CountableResource.__init__--crossover with--dataset/ETHPy150Open hiidef/oauth2app/oauth2app/decorators.py/decorator