def METHOD_NAME(self):
    """Allows to connect materials2 input to the operator.
    A vector of materials to merge or materials
    from pin 0 to ...
    Parameters
    ----------
    my_materials2 : Materials
    Examples
    --------
    >>> from ansys.dpf import core as dpf
    >>> op = dpf.operators.utility.merge_materials()
    >>> op.inputs.materials2.connect(my_materials2)
    >>> # or
    >>> op.inputs.materials2(my_materials2)
    """
    return self._materials2