Skip to content

Commit

Permalink
Merge pull request #1 from mmuraki/bugfix/import-pydantic
Browse files Browse the repository at this point in the history
Address kroo#6: pydantic import error
  • Loading branch information
mmuraki authored Jul 3, 2024
2 parents fdc4145 + 5b33518 commit 42f2e3c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion clerk_demo/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
reflex==0.5.1
reflex==0.5.5
reflex-clerk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
from typing import Optional, List

from reflex.base import pydantic
try:
from reflex.base import pydantic
except ImportError:
import pydantic


class VerifyClientRequest(pydantic.BaseModel):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
from typing import Optional, List, Dict, Any, Literal

from reflex.base import pydantic
try:
from reflex.base import pydantic
except ImportError:
import pydantic


class ClerkError(pydantic.BaseModel):
Expand Down
5 changes: 4 additions & 1 deletion custom_components/reflex_clerk/lib/appearance.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import typing

from reflex.base import pydantic
try:
from reflex.base import pydantic
except ImportError:
import pydantic


class AppearanceVariables(pydantic.BaseModel):
Expand Down

0 comments on commit 42f2e3c

Please sign in to comment.