class_docstr: Generates a report based on the metrics and stages in the pipeline.
  
  Each ReportGenerator corresponds to one aggregation which contains an
  ordered set of stages. It collects information about the DP aggregation
  and generates a report.
docstr: Initialize the ReportGenerator.
docstr_tok: ["Initialize","the","ReportGenerator","."]
code: def __init__(
      self,
      params,
      method_name: str,
      is_public_partition: Optional[bool] = None,
  ):
      """Initialize the ReportGenerator."""
      self._params_str = None
      if params:
          self._params_str = agg.parameters_to_readable_string(
              params, is_public_partition
          )
      self._method_name = method_name
      self._stages = []
  
file_path: pipelinedp/pipeline_dp/report_generator.py
imports: from pipeline_dp import aggregate_params
  from typing import Optional, Union, Callable
label_desc: Use image node_id 1 to create a new ReportGenerator object  with example: obj = ReportGenerator(params, method_name, is_public_partition)