parameters: (self, op_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):
      """Saves the `op_type` as the `Operation` type."""
      if not isinstance(op_type, six.string_types):
        raise TypeError("op_type must be a string")
      self._op_type = op_type
function_tokens: def __init__ ( self , op_type ) : if not isinstance ( op_type , six . string_types ) : raise TypeError ( "op_type must be a string" ) self . _op_type = op_type