original_docstring: 
      Invalidates request's session for the interactive flow.
      
docstring: Invalidates request's session for the interactive flow.
docstring_tokens: Invalidates request ' s session for the interactive flow .
code: def invalidate_session(request: Request):
      """
      Invalidates request's session for the interactive flow.
      """
      # Don't try to invalidate a session in local mode, since session cookies
      # were never included in request/response headers
      if settings.LOCAL_MODE:
          return
  
      request.session["authenticated"] = False
code_tokens: def invalidate_session ( request : Request ) : if settings . LOCAL_MODE : return request . session [ "authenticated" ] = False
short_docstring: Invalidates request's session for the interactive flow.
short_docstring_tokens: Invalidates request ' s session for the interactive flow .
comment: """
      Invalidates request's session for the interactive flow.
      """$SEP$# Don't try to invalidate a session in local mode, since session cookies$SEP$# were never included in request/response headers