Skip to content

Commit

Permalink
pydantic v2 import fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jstucke authored and maringuu committed Sep 18, 2023
1 parent cf30ca9 commit a31382a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
from typing import Type, Union

import pytest
from pydantic import BaseModel, Field
from pydantic.v1 import ConfigDict
from pydantic import BaseModel, ConfigDict, Field
from pydantic.v1.utils import deep_update

import config
Expand Down
4 changes: 1 addition & 3 deletions src/test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
from typing import List, NamedTuple, Type, TypeVar

import pytest
from pydantic import BaseModel
from pydantic import BaseModel, ConfigDict
from pathlib import Path

from pydantic.v1 import ConfigDict

import config
from scheduler.analysis import AnalysisScheduler
from scheduler.comparison_scheduler import ComparisonScheduler
Expand Down

0 comments on commit a31382a

Please sign in to comment.