from .chart import Chart class InfoTabs(Chart): def fill_json_template(self): """Filling json template with info from self.conf and data from retrieval_task""" return { "id": self.conf["id"], "type": "InfoTabs", "label": self.conf["label"], "options": self.conf["options"] if "options" in self.conf else {}, "data": self.conf["data"], }