class_docstr: Base class representing a step in an MLflow Recipe
docstr: Constructs a step class instance by creating a step config using the recipe
  config.
  Subclasses must implement this method to produce the config required to correctly
  run the corresponding step.
  
  :param recipe_config: Dictionary representation of the full recipe config.
  :param recipe_root: String file path to the recipe root directory.
  :return: class instance of the step.
docstr_tok: ["Constructs","a","step","class","instance","by","creating","a","step","config","using","the","recipe","config",".","Subclasses","must","implement","this","method","to","produce","the","config","required","to","correctly","run","the","corresponding","step",".",":","param","recipe_config",":","Dictionary","representation","of","the","full","recipe","config",".",":","param","recipe_root",":","String","file","path","to","the","recipe","root","directory",".",":","return",":","class","instance","of","the","step","."]
code: def from_recipe_config(
      cls, recipe_config: Dict[str, Any], recipe_root: str
  ) -> "BaseStep":
      """
      Constructs a step class instance by creating a step config using the recipe
      config.
      Subclasses must implement this method to produce the config required to correctly
      run the corresponding step.
  
      :param recipe_config: Dictionary representation of the full recipe config.
      :param recipe_root: String file path to the recipe root directory.
      :return: class instance of the step.
      """
      pass
  
imports: import abc
  import json
  import logging
  import os
  import time
  import traceback
  from enum import Enum
  from typing import Any, Dict, List, Optional
  import yaml
  from mlflow.recipes.cards import CARD_HTML_NAME, CARD_PICKLE_NAME, BaseCard, FailureCard
  from mlflow.recipes.utils import get_recipe_name
  from mlflow.recipes.utils.step import display_html
  from mlflow.tracking import MlflowClient
  from mlflow.utils.databricks_utils import is_in_databricks_runtime
label_desc: Use image node_id 7 for calling the BaseStep obj's underlying member method code with example usage: obj.from_recipe_config(cls, recipe_config, recipe_root) without return types