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
On startup, I'd like to store custom state inside the app (like settings) which is also available outside of the context of a request. How would I do that? I noticed that the mechanism from Starlette (via app.state) seems not to be available.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
On startup, I'd like to store custom state inside the app (like settings) which is also available outside of the context of a request. How would I do that? I noticed that the mechanism from Starlette (via
app.state
) seems not to be available.Beta Was this translation helpful? Give feedback.
All reactions