in processor.py [0:0]
def to_processor(self) -> Processor:
"""Converts this PartProcessor to a Processor.
Adds status and debug stream to the output streams.
Returns:
a processor that will run the part processor for each part concurrently
in the input stream.
"""
return _ProcessorWrapper(
map_processor.map_part_function(
_chain_part_processors(
[self],
task_name=self.key_prefix,
)
)
)