code: def save(self, fd_or_filename, save_image_plane_details=True):
      with open(fd_or_filename, "wt") as fd:
          if fd_or_filename.endswith(".json"):
              dump(self, fd, save_image_plane_details=False)
          else:
              super(Pipeline, self).dump(fd, save_image_plane_details)
  
file_path: CellProfiler/src/frontend/cellprofiler/gui/pipeline.py
imports: import wx
  from cellprofiler_core import pipeline
  from cellprofiler_core.pipeline.io._v6 import dump
  from cellprofiler_core.pipeline import PipelineLoadCancelledException
label_desc: Use image node_id 3 for calling the Pipeline obj's underlying member method code with example usage: obj.save(fd_or_filename, save_image_plane_details) without return types