Skip to content

Commit

Permalink
add support for python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
matter1-git committed Sep 6, 2024
1 parent af48f0a commit f97968b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pydantic_extra_types/domain.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
from typing import Annotated
try:
from typing import Annotated
except ImportError:
# Python 3.8
from typing_extensions import Annotated

from pydantic import StringConstraints

Expand Down

0 comments on commit f97968b

Please sign in to comment.