def register_recipe(cls, recipe):
    """Registers a dftimewolf recipe.

    Args:
      recipe: imported python module representing the recipe.
    """
    recipe_name = recipe.contents['name']
    cls._recipe_classes[recipe_name] = (
        recipe.contents, recipe.args, recipe.__doc__)
Registers a dftimewolf recipe.

    Args:
      recipe: imported python module representing the recipe.