code: def convert(self, val):
          
          pre = super(Parameter, self).convert(val)
  
          if self.custom_validator is not None:
              post = self.custom_validator(pre)
          else:
              post = pre
          return post
docs: Convert input values to type values.