def _coerce_type(self, raw, _):
    if raw is None:
      return raw
    return self.type(raw)
Coerces the value in 'raw' to the correct type, based on self.type
dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/lib/conf.py/Config._coerce_type