def build_archive(cls, **kwargs):
        """Return the singleton `JobArchive` instance, building it if needed """
        if cls._archive is None:
            cls._archive = cls(**kwargs)
        return cls._archive
Return the singleton `JobArchive` instance, building it if needed