@classmethod
    def convert_type(cls, value, data_type):
        """
        Convert data to its native type e.g. string '1' to int 1
        @param value: the string value to convert
        @param data_type: the native data type to convert to
        @return: the converted value
        """
        func = ExportBuilder.CONVERT_FUNCS.get(data_type, lambda x: x)
        try:
            return func(value)
        except __HOLE__:
            return value
dataset/ETHPy150Open kobotoolbox/kobocat/onadata/libs/utils/export_tools.py/ExportBuilder.convert_type