def METHOD_NAME(cls, recipe_config, recipe_root):
    step_config = {}
    if recipe_config.get("steps", {}).get("register") is not None:
        step_config.update(recipe_config.get("steps", {}).get("register"))
    step_config["recipe"] = recipe_config.get("recipe")
    if recipe_config.get("model_registry", {}).get("registry_uri") is not None:
        step_config["registry_uri"] = recipe_config.get("model_registry", {}).get(
            "registry_uri"
        )
    if recipe_config.get("model_registry", {}).get("model_name") is not None:
        step_config["model_name"] = recipe_config.get("model_registry", {}).get("model_name")
    step_config.update(
        get_recipe_tracking_config(
            recipe_root_path=recipe_root,
            recipe_config=recipe_config,
        ).to_dict()
    )
    return cls(step_config, recipe_root)