@classmethod
    def index(cls):
        list_handlers = defaultdict(list)
        object_handlers = defaultdict(list)
        for name, fnc in inspect.getmembers(cls, inspect.ismethod):
            parts = name.split('_')

            if parts[0] == 'list':
                if len(parts) == 2:
                    list_handlers[parts[1]].extend(getattr(fnc, '_accepts', ['ALL']))
                else:
                    list_handlers[parts[2]].append(parts[1])

            elif parts[0] == 'object':
                if len(parts) == 2:
                    object_handlers[parts[1]].extend(getattr(fnc, '_accepts', ['ALL']))
                else:
                    object_handlers[parts[2]].append(parts[1])

        return {
            'list': list_handlers,
            'object': object_handlers,
        }
Loads an acclaim skeleton format from a file stream.
dataset/ETHPy150Open funkybob/django-nap/nap/rest/publisher.py/BasePublisher.index--crossover with--dataset/ETHPy150Open SheffieldML/GPy/GPy/util/mocap.py/acclaim_skeleton.read_skel