in processor.py [0:0]
def parallel(processor_list: Sequence[PartProcessor]) -> PartProcessor:
"""Create a sequence of part processors to be run in parallel.
Args:
processor_list: list of part processors.
Returns:
A processor consisting of the parallel run of all the processors in the
list. The execution is sequential from the first processor to the last but
parts are processed concurrently overall.
"""
if not processor_list:
raise ValueError('processor_list is empty')
return _ParallelPartProcessor(processor_list)