@staticmethod
def get_recipe_instance_from_class(klass):
    """
        Returns recipe instance from the given class ``klass``.
        """
    from .recipe import BaseRecipe
    assert issubclass(klass, BaseRecipe)
    return klass()
