code: def __init__(self, **kargs):
      if kargs.get("type") == "bool":
          self.itemClass = BoolParameterItem
      else:
          self.itemClass = RadioParameterItem
      super().__init__(**kargs)
  
imports: from ...None import functions
  from ...Qt import QtWidgets
  from ...SignalProxy import SignalProxy
  from ..ParameterItem import ParameterItem
  from .None import BoolParameterItem, SimpleParameter
  from .basetypes import Emitter, GroupParameter, GroupParameterItem, WidgetParameterItem
  from .list import ListParameter
label_desc: Use image node_id 1 to create a new BoolOrRadioParameter object from inherited base classes: SimpleParameter with example: obj = BoolOrRadioParameter()