Skip to content

Commit 40ccef9

Browse files
committed
Follow Flask and merge contexts
This merges the contexts together into a single AppContext as has been done in Flask. This significantly simplifies the contexts and therefore should lead to easier to maintain code. As with Flask this could cause some backwards incompatibility and possibly use cases if mutliple app contexts were being pushed. Note that g is not copied when the context is copied. This was an explicit decision with Flask that Quart is also adopting.
1 parent a6dc470 commit 40ccef9

7 files changed

Lines changed: 409 additions & 452 deletions

File tree

‎src/quart/app.py‎

Lines changed: 118 additions & 130 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)