return fn


class CacheMix(object):

    def __init__(self, *args, **kwargs):
        super(CacheMix, self).__init__(*args, **kwargs)

@decorate_me
def list(self, *args, **kwargs):
    pass
How to pass self into a decorator?