libstp.step.parallel ==================== .. py:module:: libstp.step.parallel Classes ------- .. autoapisummary:: libstp.step.parallel.Parallel Functions --------- .. autoapisummary:: libstp.step.parallel.parallel Module Contents --------------- .. py:class:: Parallel(steps: List[libstp.step.Step]) Bases: :py:obj:`libstp.step.Step` Composite step that runs branches concurrently and waits for all of them. .. py:attribute:: steps :type: List[libstp.step.Step] .. py:method:: to_simulation_step() -> libstp.step.SimulationStep .. py:function:: parallel(*args) -> Parallel Create a parallel composite step. :param \*args: Each argument can be a step, a sequential composite, or a list of steps that should be wrapped into a sequential branch. :returns: A Parallel step instance containing all specified steps. :rtype: Parallel :raises TypeError: If any argument is not a Step, Sequential, or List[Step].