3a0fa0c7be
Co-authored-by: Chayim <chayim@users.noreply.github.com>
8 lines
171 B
Python
8 lines
171 B
Python
from aredis_om._compat import PYDANTIC_V2
|
|
|
|
|
|
if PYDANTIC_V2:
|
|
from pydantic.v1 import EmailStr, ValidationError
|
|
else:
|
|
from pydantic import EmailStr, ValidationError
|