def METHOD_NAME(cls, minijinja_environment: Environment) -> MiniJinjaTemplateEngine:
    """Create a MiniJinjaTemplateEngine from an existing minijinja Environment instance.
    Args:
        minijinja_environment (Environment): A minijinja Environment instance.
    Returns:
        MiniJinjaTemplateEngine instance
    """
    return cls(directory=None, engine_instance=minijinja_environment)