class_docstr: Compiler Report in PDF format
  
  Param:
      package (str, Optional): component package name
      module (str, Optional): component module name
      class (str): component class name
  
  Attr:
      name: report file name
      path: path to persist the report
  
  Example:
    "writers": [
      {
        "class": "Pdf",
        "attr": {
          "name": "first-simple-report",
          "path": "./sample_output"
        }
      }
    ]
class_docstr_tok: ["Compiler","Report","in","PDF","format","Param",":","package","(","str",",","Optional",")",":","component","package","name","module","(","str",",","Optional",")",":","component","module","name","class","(","str",")",":","component","class","name","Attr",":","name",":","report","file","name","path",":","path","to","persist","the","report","Example",":","``","writers","''",":","[","{","``","class","''",":","``","Pdf","''",",","``","attr","''",":","{","``","name","''",":","``","first-simple-report","''",",","``","path","''",":","``",".\/sample_output","''","}","}","]"]
docstr: Init
  
  Args:
      dictionary (dict): attribute to set
docstr_tok: ["Init","Args",":","dictionary","(","dict",")",":","attribute","to","set"]
code: def __init__(self, dictionary):
      """
      Init
  
      Args:
          dictionary (dict): attribute to set
      """
      super(Pdf, self).__init__(dictionary, schema=self.schema)
  
file_path: contextual-ai/xai/compiler/writer.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from xai.compiler.base import Dict2Obj
  from xai.formatter import Report, PdfWriter, HtmlWriter
label_desc: Use image node_id 1 to create a new Pdf object from inherited base classes: Dict2Obj with example: obj = Pdf(dictionary)