code: def add_fill_classes(nodes: List[minidom.Node]):
      for node in nodes:
          if "fill" in node.attributes:
              fill = node.attributes["fill"].value
              if fill not in FILLS:
                  continue
  
              node.removeAttribute("fill")
              add_class(node, f"{FILLS[fill]}-fill")
  
file_path: annotated_deep_learning_paper_implementations/utils/diagrams.py
imports: import shutil
  from pathlib import Path
  from typing import List
  from xml.dom import minidom
  from labml import monit
label_desc: Use image node_id 5 for calling a global function with example usage: add_fill_classes(nodes) without return types