Skip to content
Discussion options

You must be logged in to vote

My mistake, I got this error because I needed to have FastAPI version 0.95.1 before using Annotated (as noted the Dependencies section of the documentation).

A simple pip install fastapi --upgrade fixed the issue.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jda5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem
1 participant