Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 82a04aa

Browse files
committed
Fixed formatting
1 parent da51e8e commit 82a04aa

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

gotrue/types.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,7 @@
4242
]
4343

4444
EmailOtpType = Literal[
45-
"signup",
46-
"invite",
47-
"magiclink",
48-
"recovery",
49-
"email_change",
50-
"email"
45+
"signup", "invite", "magiclink", "recovery", "email_change", "email"
5146
]
5247

5348
AuthChangeEventMFA = Literal["MFA_CHALLENGE_VERIFIED"]
@@ -347,15 +342,15 @@ class VerifyMobileOtpParams(TypedDict):
347342
]
348343
options: NotRequired[VerifyOtpParamsOptions]
349344

345+
350346
class VerifyTokenHashParams(TypedDict):
351347
token_hash: str
352348
type: EmailOtpType
353349
options: NotRequired[VerifyOtpParamsOptions]
354350

351+
355352
VerifyOtpParams = Union[
356-
VerifyEmailOtpParams,
357-
VerifyMobileOtpParams,
358-
VerifyTokenHashParams
353+
VerifyEmailOtpParams, VerifyMobileOtpParams, VerifyTokenHashParams
359354
]
360355

361356

0 commit comments

Comments
 (0)