def __get__(self, obj, objtype):
        return functools.partial(self.__call__, obj)
Support instance methods.
dataset/ETHPy150Open django-leonardo/django-leonardo/leonardo/utils/memoized.py/memoized.__get__