@classmethod
    def make(cls, obj):
        '''Given a callable object, return a new callable object'''
        try:
            cls._cache.append(Task(obj))
        except Exception:
            logger.exception('Unable to make task for %s' % repr(obj))
dataset/ETHPy150Open seomoz/shovel/shovel/tasks.py/Task.make/original