Skip to content

Commit 9b103e7

Browse files
Bump pydantic from 1.10.9 to 2.0.3 (#187)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Patrik Lindgren <21142447+ggravlingen@users.noreply.github.com>
1 parent 204bc4d commit 9b103e7

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

pygleif/api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Pydantic Representation of models."""
22

3-
from pydantic import BaseModel, Field
3+
from pydantic.v1 import BaseModel, Field
44

55
from .data import Data
66
from .meta import Meta

pygleif/api/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from datetime import datetime
33
from typing import Any
44

5-
from pydantic import BaseModel, Field
5+
from pydantic.v1 import BaseModel, Field
66

77

88
class ValidatedAt(BaseModel):

pygleif/api/meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Meta data."""
22
from datetime import datetime
33

4-
from pydantic import BaseModel, Field
4+
from pydantic.v1 import BaseModel, Field
55

66

77
class GoldenCopy(BaseModel):

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ arrow==1.2.3
22
wget==3.2.0
33
beautifulsoup4==4.12.2
44
lxml==4.9.3
5-
pydantic==1.10.9
5+
pydantic==2.0.3
66
python-dateutil==2.8.2

0 commit comments

Comments
 (0)