[New-bugs-announce] [issue38201] Anotation problem at flask_httpauth package

Serkan report at bugs.python.org
Tue Sep 17 12:26:00 EDT 2019

New submission from Serkan <geciciserkan at gmail.com>:

if I use @auth.login_required anotation before @app.route, it is not working. It must be used after @app.route anotation. (flask_httpauth )

from flask_httpauth import HTTPBasicAuth
auth = HTTPBasicAuth()

@app.route('/api/v1.0/Scoring', methods=['POST'])
def Scoring():

components: Extension Modules
messages: 352649
nosy: Serkan Gecici
priority: normal
severity: normal
status: open
title: Anotation problem at flask_httpauth package
versions: Python 3.9

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list