You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
171 B
Python
8 lines
171 B
Python
![]()
11 months ago
|
from aredis_om._compat import PYDANTIC_V2
|
||
|
|
||
|
|
||
|
if PYDANTIC_V2:
|
||
|
from pydantic.v1 import EmailStr, ValidationError
|
||
|
else:
|
||
|
from pydantic import EmailStr, ValidationError
|