Skip to content

undefined

Class info

Classes

Name Children Inherits
LaxUndefined
jinjarope.undefined
Pass anything wrong as blank.

    🛈 DocStrings

    LaxUndefined

    Bases: Undefined

    Pass anything wrong as blank.

    Source code in src/jinjarope/undefined.py
    11
    12
    13
    14
    15
    class LaxUndefined(jinja2.Undefined):
        """Pass anything wrong as blank."""
    
        def _fail_with_undefined_error(self, *args, **kwargs):
            return ""