code: def __repr__(self):
      return self.pretty_json()
  
imports: import json
  from enum import Enum
  from json import JSONEncoder
label_desc: Use image node_id 8 for calling the SentimentDoc obj's underlying member method code with example usage: obj.__repr__() and returns: self