code: def _run_resources(run, quiet=False):
      tags = run.get("tags") or []
      resources = {}
      for tag in tags:
          if tag.startswith("dask:"):
              encoded = tag[5:]
              resources.update(_decode_dask_resources(encoded, quiet))
      return resources
  
imports: import argparse
  import logging
  import time
  from guild import _api
  from guild import util
  from .None import gen_queue
label_desc: Use image node_id 20 for calling a global function with example usage: _run_resources(run, quiet) and returns: resources