code: def from_dict(cls, info_d):
          '''
          :param info_d: the info dictionary
          :rtype: :class:`~kitty.data.data_manager.SessionInfo`
          :return: object that corresponds to the info dictionary
          '''
          info = SessionInfo()
          for k, v in info_d.items():
              setattr(info, k, v)
          return inff from_dict(cls, info_d):
          '''
          :param info_d: the info dictionary
          :rtype: :class:`~kitty.data.data_manager.SessionInfo`
          :return: object that corresponds to the info dictionary
          '''
          info = SessionInfo()
          for k, v in info_d.items():
              setattr(info, k, v)
          return info
docs: :param info_d: the info dictionary
          :rtype: :class:`~kitty.data.data_manager.SessionInfo`
          :return: object that corresponds to the info dictionary