Skip to content

Commit

Permalink
fix import error when using pydantic v2
Browse files Browse the repository at this point in the history
  • Loading branch information
omer9564 committed May 6, 2024
1 parent dd673fd commit 85504c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion permit/enforcement/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
if PYDANTIC_VERSION < (2, 0):
from pydantic import BaseModel, Field
else:
from pydantic.v1 import BaseModel # type: ignore
from pydantic.v1 import BaseModel, Field # type: ignore

JWT = str

Expand Down

0 comments on commit 85504c0

Please sign in to comment.