def __init__(self, root_path): assert path.isdir(root_path) self.root_path = root_path self.data_pool = BlobDB(path.join(root_path, 'objects'))