code: def postProcess(self):
      try:
          self.edit.setText(self.edit.text().trimmed())
          # print(self.edit.text())
      except AttributeError:
          # PyQt5: AttributeError: 'str' object has no attribute 'trimmed'
          self.edit.setText(self.edit.text())
          print(self.edit.text())
  
imports: import time
  import datetime
  import json
  import cv2
  import numpy
  from libs.utils import newIcon
label_desc: Use image node_id 7 for calling the AutoDialog obj's underlying member method code with example usage: obj.postProcess() without return types