parameters: (self, op_type, statistic_type)
docstring: Saves the `op_type` as the `Operation` type.
docstring_summary: Saves the `op_type` as the `Operation` type.
docstring_tokens: Saves the op_type as the Operation type .
function: def __init__(self, op_type, statistic_type):
      """Saves the `op_type` as the `Operation` type."""
      if not isinstance(op_type, six.string_types):
        raise TypeError("op_type must be a string.")
      if "," in op_type:
        raise TypeError("op_type must not contain a comma.")
      self._op_type = op_type
      if not isinstance(statistic_type, six.string_types):
        raise TypeError("statistic_type must be a string.")
      if "," in statistic_type:
        raise TypeError("statistic_type must not contain a comma.")
      self._statistic_type = statistic_type
function_tokens: def __init__ ( self , op_type , statistic_type ) : if not isinstance ( op_type , six . string_types ) : raise TypeError ( "op_type must be a string." ) if "," in op_type : raise TypeError ( "op_type must not contain a comma." ) self . _op_type = op_type if not isinstance ( statistic_type , six . string_types ) : raise TypeError ( "statistic_type must be a string." ) if "," in statistic_type : raise TypeError ( "statistic_type must not contain a comma." ) self . _statistic_type = statistic_type