<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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