def collect(results: list[RUN_RESULTS]) -> GATHERED_RESULTS:
        """Gather the results returned from run.

        This can be used to combine the results from multiple runs or to save/process individual job results.

        Args:
            results (list): List of results returned from run.

        Returns:
            (GATHERED_RESULTS): Collated results.
        """
Gather the results returned from run.

        This can be used to combine the results from multiple runs or to save/process individual job results.

        Args:
            results (list): List of results returned from run.

        Returns:
            (GATHERED_RESULTS): Collated results.
        
src/anomalib/pipelines/components/base/job.py