def add_info(self, key, val, ignore_errors=False):
    self.add_infos((key, val), ignore_errors=ignore_errors)
Adds the given info and returns a dict composed of just this added info.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/base/run_info.py/RunInfo.add_info