code: def dump(obj, file, protocol=None, dump_code=False):
      
      CloudPickler(file, protocol=protocol, dump_code=dump_code).dump(obj)
docs: Serialize obj as bytes streamed into file
  
      protocol defaults to cloudpickle.DEFAULT_PROTOCOL which is an alias to
      pickle.HIGHEST_PROTOCOL. This setting favors maximum communication speed
      between processes running the same Python version.
  
      Set protocol=pickle.DEFAULT_PROTOCOL instead if you need to ensure
      compatibility with older versions of Python.