code: def print_args(args, exclude=("command", "func", "verbose")):
      # type: (object, Sequence[str]) -> ()
      if not getattr(args, "verbose", None):
          return
      for arg in args.__dict__:
          if arg in exclude or args.__dict__.get(arg) is None:
              continue
          print("{}={}".format(arg, args.__dict__[arg]))
  
imports: import json
  import os
  import shutil
  from argparse import ArgumentParser, HelpFormatter
  from functools import partial
  from typing import Sequence
  from pathlib2 import Path
  import clearml.backend_api.session
  from clearml.datasets import Dataset
  from clearml.version import __version__
label_desc: Use image node_id 2 for calling a global function with example usage: print_args(args, exclude) without return types