code: def _cast(self, value):
          
          if self.type != 'text':
              value = utils.cast(self.TYPES.get(self.type)['cast'], value)
          return value
docs: Cast the specifief value to the type of this setting.