Skip to content

Commit

Permalink
doc compat
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobHayes committed Dec 4, 2020
1 parent bcdf1a0 commit e3e5f48
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/examples/schema_annotated.py
@@ -1,4 +1,7 @@
from typing import Annotated
try:
from typing import Annotated
except ImportError:
from typing_extensions import Annotated

from pydantic import BaseModel, Field

Expand Down

0 comments on commit e3e5f48

Please sign in to comment.