You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For instance, a lot of repetition could be cut down by introducing a context manager in a manner like that:
@bp.route('/route')defroute():
withprocess_form(LoginForm):
# the stuff that usually comes after `validate_on_submit`returnrender_template('route.html', foo="bar")
The text was updated successfully, but these errors were encountered:
Following and slightly agreeing with the codeclimate report on usersuite.py, it might be good to resolve some of the mentioned issues.
For instance, a lot of repetition could be cut down by introducing a context manager in a manner like that:
The text was updated successfully, but these errors were encountered: