class_docstr: Base Recipe
class_docstr_tok: ["Base","Recipe"]
docstr: Displays main output from a step, or a recipe DAG if no step is specified.
  
  :param step: String name to display a step output within the recipe. If a step is not
               specified, the DAG of the recipe is shown instead.
  :return: None
docstr_tok: ["Displays","main","output","from","a","step",",","or","a","recipe","DAG","if","no","step","is","specified",".",":","param","step",":","String","name","to","display","a","step","output","within","the","recipe",".","If","a","step","is","not","specified",",","the","DAG","of","the","recipe","is","shown","instead",".",":","return",":","None"]
code: def inspect(self, step: Optional[str] = None) -> None:
      """
      Displays main output from a step, or a recipe DAG if no step is specified.
  
      :param step: String name to display a step output within the recipe. If a step is not
                   specified, the DAG of the recipe is shown instead.
      :return: None
      """
      self._steps = self._resolve_recipe_steps()
      if not step:
          display_html(html_file_path=self._get_recipe_dag_file())
      else:
          output_directory = get_step_output_path(
              self._recipe_root_path, step, ""
          )
          self._get_step(step).inspect(output_directory)
  
imports: import abc
  import logging
  import os
  from typing import List, Optional
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import BAD_REQUEST, INTERNAL_ERROR, INVALID_PARAMETER_VALUE
  from mlflow.recipes import dag_help_strings
  from mlflow.recipes.artifacts import Artifact
  from mlflow.recipes.step import BaseStep, StepClass, StepStatus
  from mlflow.recipes.utils import get_recipe_config, get_recipe_name, get_recipe_root_path
  from mlflow.recipes.utils.execution import clean_execution_state, get_or_create_base_execution_directory, get_step_output_path, run_recipe_step
  from mlflow.recipes.utils.step import display_html
  from mlflow.utils.class_utils import _get_class_from_string
label_desc: Use image node_id 5 for calling the BaseRecipe obj's underlying member method code with example usage: obj.inspect(step) without return types