@classmethod
    def get_object_class_by_type(cls, obj_type):
        if obj_type not in cls.objects_dict:
            cls._refresh_registry()
        if obj_type not in cls.objects_dict:
            raise TypeError('\'%s\' is not a valid object class.' % obj_type)
        return cls.objects_dict[obj_type]
Gets an object class by its type. Types are CamelCased.
dataset/ETHPy150Open oppia/oppia/core/domain/obj_services.py/Registry.get_object_class_by_type