def load(self, artifact_id): """ Load artifacts index for specified artifact id from storage :param artifact_id: artifact id to load :return: None """ s = self.driver.read_index(artifact_id) xs = json.loads(s, encoding='utf-8') if s else [] self.artifacts[artifact_id] = [Artifact.from_dict(x) for x in xs]