code: def _dask_loglevel(args):
      if log.getEffectiveLevel() <= logging.DEBUG:
          return "DEBUG"
      return args.loglevel.upper()
  
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 6 for calling a global function with example usage: _dask_loglevel(args) and returns: args, str