Skip to content

Commit

Permalink
Merge pull request #85 from permitio/omer/per-9550-create-sdk-function
Browse files Browse the repository at this point in the history
Fix import error when using pydantic v2
  • Loading branch information
obsd authored May 6, 2024
2 parents 54054bf + 85504c0 commit 8bd216f
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 8bd216f

Please sign in to comment.