blog/app/routes.py
def inject_template_scope():
    """ Injects the consent cookie into scope. """
    injections = dict()

    def cookies_check():
        value = flask.request.cookies.get('cookie_consent')
        return value == 'true'

    injections.update(cookies_check=cookies_check)

    return injections
 Injects the consent cookie into scope. 
Injects the consent cookie into scope.
Injects the consent cookie into scope .
def inject_template_scope():
    injections = dict()
    def cookies_check():
        value = flask.request.cookies.get('cookie_consent')
        return value == 'true'
    injections.update(cookies_check=cookies_check)
    return injections
def inject_template_scope ( ) : injections = dict ( ) def cookies_check ( ) : value = flask . request . cookies . get ( 'cookie_consent' ) return value == 'true' injections . update ( cookies_check = cookies_check ) return injections
Injects the consent cookie into scope.
Injects the consent cookie into scope .
""" Injects the consent cookie into scope. """