Allow using Pydantic v2 (#533)
Co-authored-by: Chayim <chayim@users.noreply.github.com>
This commit is contained in:
parent
323787151e
commit
3a0fa0c7be
10 changed files with 45 additions and 14 deletions
|
|
@ -31,8 +31,7 @@ from pathlib import PurePath
|
|||
from types import GeneratorType
|
||||
from typing import Any, Callable, Dict, List, Optional, Set, Tuple, Union
|
||||
|
||||
from pydantic import BaseModel
|
||||
from pydantic.json import ENCODERS_BY_TYPE
|
||||
from .._compat import ENCODERS_BY_TYPE, BaseModel
|
||||
|
||||
|
||||
SetIntStr = Set[Union[int, str]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue