class_docstr: This module takes already prepared section data, renders HTML section template with the data and
  glues sections together into one compressed report which is created based on the provided template.
docstr: Initialize an instance of ReportGenerator.
  
  :param str read_key: key of input sections data to read from the datastore
  :param str store_key: key for storing the html report code in the datastore
  :para bool online_report: if false (default), the plotly.js code is included in the html report, else the report takes js code from cdn server which requires internet connection
docstr_tok: ["Initialize","an","instance","of","ReportGenerator",".",":","param","str","read_key",":","key","of","input","sections","data","to","read","from","the","datastore",":","param","str","store_key",":","key","for","storing","the","html","report","code","in","the","datastore",":","para","bool","online_report",":","if","false","(","default",")",",","the","plotly.js","code","is","included","in","the","html","report",",","else","the","report","takes","js","code","from","cdn","server","which","requires","internet","connection"]
code: def __init__(self, read_key, store_key, settings: Report) -> None:
      """Initialize an instance of ReportGenerator.
  
      :param str read_key: key of input sections data to read from the datastore
      :param str store_key: key for storing the html report code in the datastore
      :para bool online_report: if false (default), the plotly.js code is included in the html report, else the report takes js code from cdn server which requires internet connection
      """
      super().__init__()
      self.read_key = read_key
      self.store_key = store_key
      self.title = settings.title
      self.online_report = settings.online_report
      self.tl_colors = settings.tl_colors
  
file_path: popmon/popmon/visualization/report_generator.py
imports: import htmlmin
  from popmon.base import Module
  from popmon.config import Report
  from popmon.resources import templates_env
  from popmon.version import version
label_desc: Use image node_id 1 to create a new ReportGenerator object from inherited base classes: Module with example: obj = ReportGenerator(read_key, store_key, settings)