code: def get_value(self, field):
          '''
          Return a random value that can be assigned to the passed *field*
          instance.
          '''
          if field not in self._field_generators:
              self._field_generators[field] = self.get_generator(field)
          generator = self._field_generators[field]
          if generator is None:
              return self.IGNORE_FIELD
          value = generator()
          return valuf get_value(self, field):
          '''
          Return a random value that can be assigned to the passed *field*
          instance.
          '''
          if field not in self._field_generators:
              self._field_generators[field] = self.get_generator(field)
          generator = self._field_generators[field]
          if generator is None:
              return self.IGNORE_FIELD
          value = generator()
          return value
docs: Return a random value that can be assigned to the passed *field*
          instance.