def METHOD_NAME(self):
    """Allows to connect string_or_path input to the operator.
    Parameters
    ----------
    my_string_or_path : str or DataSources
    Examples
    --------
    >>> from ansys.dpf import core as dpf
    >>> op = dpf.operators.serialization.txt_to_data_tree()
    >>> op.inputs.string_or_path.connect(my_string_or_path)
    >>> # or
    >>> op.inputs.string_or_path(my_string_or_path)
    """
    return self._string_or_path