def fetch_from_archive(self):
if not self.archive:<EOL><INDENT>raise ArchiveError(cause="<STR_LIT>")<EOL><DEDENT>self.client = self._init_client(from_archive=True)<EOL>for item in self.fetch_items(self.archive.category, **self.archive.backend_params):<EOL><INDENT>yield self.metadata(item)<EOL><DEDENT>
Fetch the questions from an archive.

        It returns the items stored within an archive. If this method is called but
        no archive was provided, the method will raise a `ArchiveError` exception.

        :returns: a generator of items

        :raises ArchiveError: raised when an error occurs accessing an archive