def METHOD_NAME(
    self, steps: Union[List[PipelineStep], Set[PipelineStep], Tuple[PipelineStep]]
) -> Set[PipelineStep]:
    """Update the set of steps for this PipelineGraph to the provided value.
    Parameters
    ----------
    steps : list, set, tuple of :class:`~verta.deployment.PipelineStep`
        List, set, or tuple of all possible steps of the pipeline graph.
        All options are converted to a set, so order is irrelevant and
        duplicates are removed.
    Returns
    -------
    set of :class:`~verta.deployment.PipelineStep`
        The steps now set for this graph, if validation is successful.
    Raises
    ------
    TypeError
        If ``steps`` is not a set of PipelineStep objects.
    """
    self._steps = set(self._validate_steps(steps))
    return self.steps