code: def _clear_empty_values(args):
      '''
      Scrap junk data from a dict.
      '''
      result = {}
      for param in args:
          if args[param] is not None:
              result[param] = args[param]
      return resulf _clear_empty_values(args):
      '''
      Scrap junk data from a dict.
      '''
      result = {}
      for param in args:
          if args[param] is not None:
              result[param] = args[param]
      return result
docs: Scrap junk data from a dict.