code: def log_sklearn_pipeline(
      self, experiment, prep_pipe, model, path=None
  ):
      path = path or ""
      pipeline = self._construct_pipeline_if_needed(model, prep_pipe)
      art = wandb.Artifact("pipeline", type="model")
      with art.new_file(os.path.join(path, "pipeline.pkl")) as f:
          f.write(pipeline)
      self.run.log_artifact(art)
  
file_path: pycaret/pycaret/loggers/wandb_logger.py
imports: import os
  import uuid
  from copy import deepcopy
  from pathlib import Path
  import pandas
  from pycaret.loggers.base_logger import BaseLogger
label_desc: Use image node_id 6 for calling the WandbLogger obj's underlying member method code with example usage: obj.log_sklearn_pipeline(experiment, prep_pipe, model, path) without return types