Skip to content

Commit

Permalink
Fixed typo in lifespan state spec (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
florimondmanca committed Mar 12, 2023
1 parent 861a59d commit 0357158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/lifespan.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Lifespan State
Applications often want to persist data from the lifespan cycle to request/response handling.
For example, a database connection can be established in the lifespan cycle and persisted to
the request/response cycle.
The ``lifespan["state"]`` namespace provides a place to store these sorts of things.
The ``scope["state"]`` namespace provides a place to store these sorts of things.
The server will ensure that a *shallow copy* of the namespace is passed into each subsequent
request/response call into the application.
Since the server manages the application lifespan and often the event loop as well this
Expand Down

0 comments on commit 0357158

Please sign in to comment.