code: def save_pkl(save_path: Path, obj: Any):
      """Save obj with cloudpickle under save_path"""
      if not save_path.exists():
          save_path.mkdir(parents=True)
      with open(save_path.joinpath(PKL_FILE_NAME), mode="wb") as file:
          cloudpickle.dump(obj, file)
  
imports: from __future__ import absolute_import
  from typing import Any
  from pathlib import Path
  import cloudpickle
label_desc: Use image node_id 1 for calling a global function with example usage: save_pkl(save_path, obj) without return types