Skip to content

2.2.0 bug: type object 'Flask' has no attribute 'try_trigger_before_first_request_functions' #4727

Answered by davidism
kdieudonne-adeo asked this question in Q&A
Discussion options

You must be logged in to vote

before_first_request is deprecated and will be removed in Flask 2.3. As part of that, some internals were refactored for performance, including try_trigger_before_first_request_functions method. What code were you using that was calling this method? This method was not intended as a public API, and will be going away completely in the next feature release, so it's probably better to address whatever is using it.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kdieudonne-adeo
Comment options

@kdieudonne-adeo
Comment options

Answer selected by kdieudonne-adeo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants