code: def process_scalar(self):
      if self.analysis is None:
          self.analysis = self.analyze_scalar(self.event.value)
      if "\n" in self.analysis.scalar:
          self.style = "|"
      super(MyDumper, self).process_scalar()
  
imports: from __future__ import print_function
  from collections import OrderedDict
  from os.path import abspath, join, dirname, exists
  from utils.common import check_update
  from utils.type_conv import type_from_proto
  import time
  import yaml
label_desc: Use image node_id 2 for calling the MyDumper obj's underlying member method code with example usage: obj.process_scalar() without return types