code: def cloudpickle_dump(
      obj: tp.Any, filename: tp.Union[str, Path]
  ) -> None:
      with open(filename, "wb") as ofile:
          cloudpickle.dump(obj, ofile, pickle.HIGHEST_PROTOCOL)
  
imports: import contextlib
  import io
  import itertools
  import os
  import pickle
  import select
  import shutil
  import subprocess
  import sys
  import tarfile
  import typing
  from pathlib import Path
  import cloudpickle
label_desc: Use image node_id 6 for calling a global function with example usage: cloudpickle_dump(obj, filename) without return types