(self, name=None)
Create an `DagOutput` with the given name.

    Args:
      name: If given, a string name which defines the name of this output.
          If not given, the names in the dictionary this is connected to
          will be used as output names.
Create an `DagOutput` with the given name.
Create an DagOutput with the given name .
def __init__(self, name=None):
    """Create an `DagOutput` with the given name.

    Args:
      name: If given, a string name which defines the name of this output.
          If not given, the names in the dictionary this is connected to
          will be used as output names.
    """
    self.name = name

    # `output_type` and `input_type` are set by DAGPipeline. Since `DagOutput`
    # is not given its type, the type must be infered from what it is connected
    # to in the DAG. Having `output_type` and `input_type` makes `DagOutput` act
    # like a `Pipeline` in some cases.
    self.output_type = None
    self.input_type = None
def __init__ ( self , name = None ) : self . name = name # `output_type` and `input_type` are set by DAGPipeline. Since `DagOutput` # is not given its type, the type must be infered from what it is connected # to in the DAG. Having `output_type` and `input_type` makes `DagOutput` act # like a `Pipeline` in some cases. self . output_type = None self . input_type = None