Skip to content

typing: Starlette class instance is not accepted by uvicorn.run #1513

Answered by Kludex
mbergal asked this question in Potential Issue
Discussion options

You must be logged in to vote

For now, use # type: ignore.

Uvicorn uses asgiref, and is a bit stricter on the uvicorn.run() than Starlette.

Replies: 2 comments

Comment options

Kludex
Feb 14, 2022
Maintainer Sponsor

You must be logged in to vote
0 replies
Comment options

Kludex
Jan 12, 2023
Maintainer Sponsor

You must be logged in to vote
0 replies
Answer selected by Kludex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants