def get_inputs(self, _visited=None):
        """
        Returns: the set of all input steps
        """
        if _visited is None:
            _visited = set()

        _visited.add(self)

        for i in self.inputs:
            if i not in _visited:
                i.get_inputs(_visited)

        return _visited
Returns: the set of all input steps