code: def yield_artifacts(run_id, path=None):
      """
      Yields all artifacts in the specified run.
      """
      client = MlflowClient()
      for item in client.list_artifacts(run_id, path):
          if item.is_dir:
              yield from yield_artifacts(run_id, item.path)
          else:
              yield item.path
  
imports: import os
  from collections import namedtuple
  import matplotlib.pyplot
  import numpy
  import pandas
  import pytest
  import shap
  from sklearn.datasets import load_diabetes, load_iris
  from sklearn.ensemble import RandomForestClassifier, RandomForestRegressor
  import mlflow
  from mlflow import MlflowClient
label_desc: Use image node_id 1 for calling a global function with example usage: yield_artifacts(run_id, path) without return types