code: def test_recipe_get_artifacts():
      recipe = Recipe(profile="local")
      recipe.clean()
  
      recipe.run("ingest")
      recipe.run("split")
      recipe.run("transform")
      recipe.run("train")
      recipe.run("register")
  
      assert isinstance(
          recipe.get_artifact("ingested_data"), pd.DataFrame
      )
      assert isinstance(
          recipe.get_artifact("training_data"), pd.DataFrame
      )
      assert isinstance(
          recipe.get_artifact("validation_data"), pd.DataFrame
      )
      assert isinstance(recipe.get_artifact("test_data"), pd.DataFrame)
      assert isinstance(
          recipe.get_artifact("transformed_training_data"), pd.DataFrame
      )
      assert isinstance(
          recipe.get_artifact("transformed_validation_data"),
          pd.DataFrame,
      )
      assert hasattr(recipe.get_artifact("transformer"), "transform")
      assert isinstance(
          recipe.get_artifact("model"), mlflow.pyfunc.PyFuncModel
      )
      assert isinstance(recipe.get_artifact("run"), Run)
      assert isinstance(
          recipe.get_artifact("registered_model_version"), ModelVersion
      )
  
      with pytest.raises(
          MlflowException,
          match="The artifact with name 'abcde' is not supported.",
      ):
          recipe.get_artifact("abcde")
  
      recipe.clean()
      assert not recipe.get_artifact("ingested_data")
  
imports: import os
  import pathlib
  import re
  import shutil
  from unittest import mock
  import pandas
  import pytest
  import yaml
  import mlflow
  from mlflow.entities import Run, SourceType
  from mlflow.entities.model_registry import ModelVersion
  from mlflow.exceptions import MlflowException
  from mlflow.recipes.recipe import Recipe
  from mlflow.recipes.step import BaseStep
  from mlflow.recipes.utils.execution import _MAKEFILE_FORMAT_STRING, _get_execution_directory_basename, get_step_output_path
  from mlflow.tracking.client import MlflowClient
  from mlflow.tracking.context.registry import resolve_tags
  from mlflow.utils.file_utils import path_to_local_file_uri
  from mlflow.utils.mlflow_tags import LEGACY_MLFLOW_GIT_REPO_URL, MLFLOW_GIT_COMMIT, MLFLOW_GIT_REPO_URL, MLFLOW_SOURCE_NAME, MLFLOW_SOURCE_TYPE
  from tests.recipes.helper_functions import chdir, list_all_artifacts
label_desc: Use image node_id 10 for calling a global function with example usage: test_recipe_get_artifacts() without return types