code: def format_resource_names(
      resources, omit_resources="_cores _nodes".split()
  ):
      return ", ".join(
          name for name in resources if name not in omit_resources
      )
  
imports: import logging
  import platform
  import time
  import datetime
  import sys
  import os
  import json
  import threading
  from functools import partial
  import inspect
  import textwrap
label_desc: Use image node_id 3 for calling a global function with example usage: format_resource_names(resources, omit_resources) and returns: str