def SanitizeEntityValue(self, prop_name, value):
    if prop_name == 'when_created':
      value = value.strip()
      try:
        return datetime.datetime.strptime(value, '%Y%m%d%H%M%S.0Z')
      except __HOLE__:
        logging.error('Unknown when_created format: %r', value)
        return None
    return super(BitLocker, self).SanitizeEntityValue(prop_name, value)
dataset/ETHPy150Open google/cauliflowervest/src/cauliflowervest/server/handlers/bitlocker.py/BitLocker.SanitizeEntityValue