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

document the lifecycle of a flask application and request #4973

Merged
merged 1 commit into from Feb 10, 2023

Conversation

davidism
Copy link
Member

@davidism davidism commented Feb 10, 2023

Document the Flask application structure. Distinguish between setting up the application, running the server, and handling each request. Document that setup should not be done after starting the server, and that methods might show an error to help avoid this. Document the many, many hooks and signals that run as part of each request.

I actually gave a talk about this (that probably went way too fast and technical) at PyCon Canada 2018, then never really followed up to write this missing information down in Flask. Until now.

@davidism davidism added the docs label Feb 10, 2023
@davidism davidism merged commit b945f98 into 2.2.x Feb 10, 2023
@davidism davidism deleted the docs-lifetime branch February 10, 2023 22:54
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant