code: def import_pyside2():
      """
      Import PySide2
  
      ImportErrors raised within this function are non-recoverable
      """
      from PySide2 import (
          QtGui,
          QtCore,
          QtSvg,
          QtWidgets,
          QtPrintSupport,
      )
  
      # Join QtGui and QtWidgets for Qt4 compatibility.
      QtGuiCompat = types.ModuleType("QtGuiCompat")
      QtGuiCompat.__dict__.update(QtGui.__dict__)
      QtGuiCompat.__dict__.update(QtWidgets.__dict__)
      QtGuiCompat.__dict__.update(QtPrintSupport.__dict__)
  
      return QtCore, QtGuiCompat, QtSvg, QT_API_PYSIDE2
  
imports: import importlib.abc
  import sys
  import os
  import types
  from functools import partial, lru_cache
  import operator
label_desc: Use image node_id 10 for calling a global function with example usage: import_pyside2() and returns: QtCore,  QtGuiCompat,  QtSvg,  QT_API_PYSIDE2