Skip to content

before_first_request has been deprecated #95

Description

@jinmiaoluo

When running flask run, an error will occur: AttributeError: 'Flask' object has no attribute 'before_first_request'.

workaround:

diff --git a/requirements.txt b/requirements.txt
index a9a0f2d..34f5e84 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,3 @@
-Flask
+Flask~=2.2.0
 Flask-SQLAlchemy
 Authlib

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions