code: def logout():
      """Clear the current session, including the stored user id."""
      session.clear()
      return redirect(url_for("index"))
  
file_path: flask-sqlalchemy/examples/flaskr/flaskr/auth/views.py
imports: import functools
  from flask import Blueprint
  from flask import flash
  from flask import g
  from flask import redirect
  from flask import render_template
  from flask import request
  from flask import session
  from flask import url_for
  from flaskr import db
  from flaskr.auth.models import User
label_desc: Use image node_id 5 for calling a global function with example usage: logout() and returns: redirect