code: def _CreateSingleValueCondition(self, value, operator):
      
      if isinstance(value, str) or isinstance(value, unicode):
        value = '"%s"' % value
      return '%s %s %s' % (self._field, operator, value)
docs: Creates a single-value condition with the provided value and operator.