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())
  
file_path: PaddleOCR/PPOCRLabel/libs/labelDialog.py
imports: from libs.utils import newIcon, labelValidator
label_desc: Use image node_id 3 for calling the LabelDialog obj's underlying member method code with example usage: obj.postProcess() without return types