code: def out_of_band_serialize_dataset():
      context = (
          ray._private.worker.global_worker.get_serialization_context()
      )
      try:
          context._register_cloudpickle_reducer(
              ray.data.Dataset, _reduce
          )
          yield
      finally:
          context._unregister_cloudpickle_reducer(ray.data.Dataset)
  
imports: import contextlib
  import traceback
  import ray
label_desc: Use image node_id 3 for calling a global function with example usage: out_of_band_serialize_dataset() without return types