def add_info(self, cmd_type: str, cmd_id: str, data: dict):
    if (self.info_dump is None):
        self.info_dump = {}
    if (cmd_type not in self.info_dump):
        self.info_dump[cmd_type] = {}
    self.info_dump[cmd_type][cmd_id] = data
def add_info(self, cmd_type: str, cmd_id: str, data: dict):
    if (self.info_dump is None):
        self.info_dump = {}
    if (cmd_type not in self.info_dump):
        self.info_dump[cmd_type] = {}
    self.info_dump[cmd_type][cmd_id] = data