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