code: def extend_base_class(cls: Type):
      """
      Class decorator to help extend (customise) the render classes
  
      Parameters
      ----------
      cls :
          Class (Base class) being extended (sub-classed).
      """
      base = cls.mro()[1]
      attrs = [
          name for name in vars(cls) if name not in EXCLUDE_ATTRIBUTES
      ]
      for name in attrs:
          set_class_attr(base, name, getattr(cls, name))
  
label_desc: Use image node_id 1 for calling a global function with example usage: extend_base_class(cls) without return types