@staticmethod
    def _unmarshal_parts(pkg_reader, package, part_factory):
        parts = {}
        for partname, content_type, blob in pkg_reader.iter_sparts():
            parts[partname] = part_factory(
                partname, content_type, blob, package
            )
        return parts
Generates and returns a unique thread id that has not been issued before by this agent.
dataset/ETHPy150Open scanny/python-pptx/pptx/opc/package.py/Unmarshaller._unmarshal_parts--crossover with--dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/log_processing.py/LogFileProcessor.generate_unique_thread_id