Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'Blueprint' object has no attribute 'before_app_first_request' #35

Open
liborjelinek opened this issue Dec 2, 2023 · 1 comment

Comments

@liborjelinek
Copy link

$ rqmonitor
Traceback (most recent call last):
  File "/Users/liborjelinek/git-dm/documatt-api/.venv/bin/rqmonitor", line 5, in <module>
    from rqmonitor.cli import main
  File "/Users/liborjelinek/git-dm/documatt-api/.venv/lib/python3.11/site-packages/rqmonitor/__init__.py", line 3, in <module>
    from .bp import monitor_blueprint
  File "/Users/liborjelinek/git-dm/documatt-api/.venv/lib/python3.11/site-packages/rqmonitor/bp.py", line 54, in <module>
    @monitor_blueprint.before_app_first_request
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Blueprint' object has no attribute 'before_app_first_request'. Did you mean: 'before_app_request'?

Python 3.11

@onthedesk
Copy link

If you run this project on Python 3.11, you should upgrade the Flask version by hand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants