code: def test_valid(self, pipeline):
      super(self.__class__, self).test_valid(pipeline)
  
      value = self.str_to_value(self.value_text)
  
      if value % 2 == 0:
          raise ValidationError("Must be odd, was even", self)
  
imports: from ._integer import Integer
  from ...._validation_error import ValidationError
label_desc: Use image node_id 1 for calling the OddInteger obj's underlying member method code with example usage: obj.test_valid(pipeline) without return types