Skip to content

Commit

Permalink
fix: add is_anonymous type to the user model (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
silentworks authored Jul 24, 2024
1 parent 964826c commit c37913f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions supabase_auth/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ class User(BaseModel):
recovery_sent_at: Union[datetime, None] = None
email_change_sent_at: Union[datetime, None] = None
new_email: Union[str, None] = None
new_phone: Union[str, None] = None
invited_at: Union[datetime, None] = None
action_link: Union[str, None] = None
email: Union[str, None] = None
Expand All @@ -211,6 +212,7 @@ class User(BaseModel):
role: Union[str, None] = None
updated_at: Union[datetime, None] = None
identities: Union[List[UserIdentity], None] = None
is_anonymous: bool = False
factors: Union[List[Factor], None] = None


Expand Down

0 comments on commit c37913f

Please sign in to comment.