code: def filter(self, value, model=None, context=None):
          
          value = str(value)
          return value.upper()
docs: Filter
          Performs value filtering and returns filtered result.
  
          :param value:               input value
          :param model:               parent model being validated
          :param context:             object, filtering context
          :return:                    filtered value