code: def gen_value(self):
          
          return gen_string(
              gen_choice(self.str_type),
              gen_integer(self.min_len, self.max_len)
          )
docs: Return a value suitable for a :class:`StringField`.