code: def dumps(obj, **kwargs):
      if kwargs.get("special_dumps_param") != 42:
          raise ValueError(
              "Expected special_dumps_param among kwargs, got {}".format(
                  kwargs
              )
          )
      return dali_pickle._DaliPickle.dumps(obj)
  
imports: import copyreg
  import numpy
  import nvidia.dali.fn
  import nvidia.dali.pickling
  import os
  from nvidia.dali import pipeline_def
  from pickle import PicklingError
  from nose_utils import raises
  from test_utils import get_dali_extra_path, restrict_python_version
label_desc: Use image node_id 9 for calling a global function with example usage: dumps(obj) and returns: dali_pickle