Browse Source
The async tests page told readers to instantiate event-loop-bound
objects inside an `@app.on_event("startup")` callback, but `on_event`
is deprecated in favor of `lifespan` (as documented on the Lifespan
Events page, and as this same page already references a few lines
above when discussing lifespan events with the AsyncClient).
pull/15960/head
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue