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
AssertionError: The setup method 'shell_context_processor' can no
longer be called on the application. It has already handled its
first request, any changes will not be applied consistently. Make
sure all imports, decorators, functions, etc. needed to set up the
application are done before running it.
The error should be documented, and a correct implementation should be provided.
The text was updated successfully, but these errors were encountered:
davidism
changed the title
appcontext doc should explain the new @setupmethod 'shell_context_process' behavior
docs should explain the @setupmethod behavior
Nov 29, 2022
The appcontext documentation should explain the new @setupmethod 'shell_context_process' behavior, linked to #4577.
Flask raises an Assertion Error.
The error should be documented, and a correct implementation should be provided.
The text was updated successfully, but these errors were encountered: