Skip to content

Pass command line arguments to app.state via on_startup or lifespan #2047

Discussion options

You must be logged in to vote

Pass command line arguments into uvicorn startup/shutdown events.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dineshbvadhia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant