from flask import abort
      
      @app.route('/login')
      def login():
          abort(401)
          this_is_never_executed()
      
      Python language logo
      your recipe card header background

      Flask abort

      Python Flask

      Library: flask

      Shortcut: flask.abort

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.