Skip to content

Commit 4ed4e61

Browse files
adding dev-v0.3.1 tag to this commit to ensure building
1 parent 0c400ca commit 4ed4e61

File tree

12 files changed

+30
-30
lines changed

12 files changed

+30
-30
lines changed

html/supertokens_python/recipe/emailpassword/interfaces.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ <h3>Ancestors</h3>
644644
</dd>
645645
<dt id="supertokens_python.recipe.emailpassword.interfaces.CreateResetPasswordResult"><code class="flex name class">
646646
<span>class <span class="ident">CreateResetPasswordResult</span></span>
647-
<span>(</span><span>status: "Literal['OK', 'UNKNOWN_USER_ID_ERROR']", token: Union[str, None])</span>
647+
<span>(</span><span>status: "Literal[('OK', 'UNKNOWN_USER_ID_ERROR')]", token: Union[str, None])</span>
648648
</code></dt>
649649
<dd>
650650
<div class="desc"><p>Helper class that provides a standard way to create an ABC using
@@ -842,7 +842,7 @@ <h3>Methods</h3>
842842
</dd>
843843
<dt id="supertokens_python.recipe.emailpassword.interfaces.EmailVerifyPostResponse"><code class="flex name class">
844844
<span>class <span class="ident">EmailVerifyPostResponse</span></span>
845-
<span>(</span><span>status: "Literal['OK', 'EMAIL_VERIFICATION_INVALID_TOKEN_ERROR']", user: Union[User, None])</span>
845+
<span>(</span><span>status: "Literal[('OK', 'EMAIL_VERIFICATION_INVALID_TOKEN_ERROR')]", user: Union[User, None])</span>
846846
</code></dt>
847847
<dd>
848848
<div class="desc"><p>Helper class that provides a standard way to create an ABC using
@@ -940,7 +940,7 @@ <h3>Ancestors</h3>
940940
</dd>
941941
<dt id="supertokens_python.recipe.emailpassword.interfaces.GenerateEmailVerifyTokenPostResponse"><code class="flex name class">
942942
<span>class <span class="ident">GenerateEmailVerifyTokenPostResponse</span></span>
943-
<span>(</span><span>status: "Literal['OK', 'EMAIL_ALREADY_VERIFIED_ERROR']")</span>
943+
<span>(</span><span>status: "Literal[('OK', 'EMAIL_ALREADY_VERIFIED_ERROR')]")</span>
944944
</code></dt>
945945
<dd>
946946
<div class="desc"><p>Helper class that provides a standard way to create an ABC using
@@ -1194,7 +1194,7 @@ <h3>Ancestors</h3>
11941194
</dd>
11951195
<dt id="supertokens_python.recipe.emailpassword.interfaces.PasswordResetPostResponse"><code class="flex name class">
11961196
<span>class <span class="ident">PasswordResetPostResponse</span></span>
1197-
<span>(</span><span>status: "Literal['OK', 'RESET_PASSWORD_INVALID_TOKEN_ERROR']")</span>
1197+
<span>(</span><span>status: "Literal[('OK', 'RESET_PASSWORD_INVALID_TOKEN_ERROR')]")</span>
11981198
</code></dt>
11991199
<dd>
12001200
<div class="desc"><p>Helper class that provides a standard way to create an ABC using
@@ -1474,7 +1474,7 @@ <h3>Ancestors</h3>
14741474
</dd>
14751475
<dt id="supertokens_python.recipe.emailpassword.interfaces.ResetPasswordUsingTokenResult"><code class="flex name class">
14761476
<span>class <span class="ident">ResetPasswordUsingTokenResult</span></span>
1477-
<span>(</span><span>status: "Literal['OK', 'RESET_PASSWORD_INVALID_TOKEN_ERROR']")</span>
1477+
<span>(</span><span>status: "Literal[('OK', 'RESET_PASSWORD_INVALID_TOKEN_ERROR')]")</span>
14781478
</code></dt>
14791479
<dd>
14801480
<div class="desc"><p>Helper class that provides a standard way to create an ABC using
@@ -1570,7 +1570,7 @@ <h3>Ancestors</h3>
15701570
</dd>
15711571
<dt id="supertokens_python.recipe.emailpassword.interfaces.SignInPostResponse"><code class="flex name class">
15721572
<span>class <span class="ident">SignInPostResponse</span></span>
1573-
<span>(</span><span>status: "Literal['OK', 'WRONG_CREDENTIALS_ERROR']", user: Union[User, None])</span>
1573+
<span>(</span><span>status: "Literal[('OK', 'WRONG_CREDENTIALS_ERROR')]", user: Union[User, None])</span>
15741574
</code></dt>
15751575
<dd>
15761576
<div class="desc"><p>Helper class that provides a standard way to create an ABC using
@@ -1664,7 +1664,7 @@ <h3>Ancestors</h3>
16641664
</dd>
16651665
<dt id="supertokens_python.recipe.emailpassword.interfaces.SignInResult"><code class="flex name class">
16661666
<span>class <span class="ident">SignInResult</span></span>
1667-
<span>(</span><span>status: "Literal['OK', 'WRONG_CREDENTIALS_ERROR']", user: Union[User, None])</span>
1667+
<span>(</span><span>status: "Literal[('OK', 'WRONG_CREDENTIALS_ERROR')]", user: Union[User, None])</span>
16681668
</code></dt>
16691669
<dd>
16701670
<div class="desc"><p>Helper class that provides a standard way to create an ABC using
@@ -1803,7 +1803,7 @@ <h3>Ancestors</h3>
18031803
</dd>
18041804
<dt id="supertokens_python.recipe.emailpassword.interfaces.SignUpPostResponse"><code class="flex name class">
18051805
<span>class <span class="ident">SignUpPostResponse</span></span>
1806-
<span>(</span><span>status: "Literal['OK', 'EMAIL_ALREADY_EXISTS_ERROR']", user: Union[User, None])</span>
1806+
<span>(</span><span>status: "Literal[('OK', 'EMAIL_ALREADY_EXISTS_ERROR')]", user: Union[User, None])</span>
18071807
</code></dt>
18081808
<dd>
18091809
<div class="desc"><p>Helper class that provides a standard way to create an ABC using
@@ -1876,7 +1876,7 @@ <h3>Methods</h3>
18761876
</dd>
18771877
<dt id="supertokens_python.recipe.emailpassword.interfaces.SignUpResult"><code class="flex name class">
18781878
<span>class <span class="ident">SignUpResult</span></span>
1879-
<span>(</span><span>status: "Literal['OK', 'EMAIL_ALREADY_EXISTS_ERROR']", user: Union[User, None])</span>
1879+
<span>(</span><span>status: "Literal[('OK', 'EMAIL_ALREADY_EXISTS_ERROR')]", user: Union[User, None])</span>
18801880
</code></dt>
18811881
<dd>
18821882
<div class="desc"><p>Helper class that provides a standard way to create an ABC using
@@ -1952,7 +1952,7 @@ <h3>Ancestors</h3>
19521952
</dd>
19531953
<dt id="supertokens_python.recipe.emailpassword.interfaces.UpdateEmailOrPasswordResult"><code class="flex name class">
19541954
<span>class <span class="ident">UpdateEmailOrPasswordResult</span></span>
1955-
<span>(</span><span>status: "Literal['OK', 'UNKNOWN_USER_ID_ERROR', 'EMAIL_ALREADY_EXISTS_ERROR']")</span>
1955+
<span>(</span><span>status: "Literal[('OK', 'UNKNOWN_USER_ID_ERROR', 'EMAIL_ALREADY_EXISTS_ERROR')]")</span>
19561956
</code></dt>
19571957
<dd>
19581958
<div class="desc"><p>Helper class that provides a standard way to create an ABC using

html/supertokens_python/recipe/emailpassword/recipe_implementation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ <h3>Methods</h3>
426426
</details>
427427
</dd>
428428
<dt id="supertokens_python.recipe.emailpassword.recipe_implementation.RecipeImplementation.get_users"><code class="name flex">
429-
<span>async def <span class="ident">get_users</span></span>(<span>self, time_joined_order: "Literal['ASC', 'DESC']", limit: Union[int, None] = None, pagination_token: Union[str, None] = None) ‑> <a title="supertokens_python.recipe.emailpassword.types.UsersResponse" href="types.html#supertokens_python.recipe.emailpassword.types.UsersResponse">UsersResponse</a></span>
429+
<span>async def <span class="ident">get_users</span></span>(<span>self, time_joined_order: "Literal[('ASC', 'DESC')]", limit: Union[int, None] = None, pagination_token: Union[str, None] = None) ‑> <a title="supertokens_python.recipe.emailpassword.types.UsersResponse" href="types.html#supertokens_python.recipe.emailpassword.types.UsersResponse">UsersResponse</a></span>
430430
</code></dt>
431431
<dd>
432432
<div class="desc"></div>

html/supertokens_python/recipe/emailverification/interfaces.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ <h3>Ancestors</h3>
424424
</dd>
425425
<dt id="supertokens_python.recipe.emailverification.interfaces.CreateEmailVerificationTokenResult"><code class="flex name class">
426426
<span>class <span class="ident">CreateEmailVerificationTokenResult</span></span>
427-
<span>(</span><span>status: "Literal['OK', 'EMAIL_ALREADY_VERIFIED_ERROR']", token: Union[str, None])</span>
427+
<span>(</span><span>status: "Literal[('OK', 'EMAIL_ALREADY_VERIFIED_ERROR')]", token: Union[str, None])</span>
428428
</code></dt>
429429
<dd>
430430
<div class="desc"><p>Helper class that provides a standard way to create an ABC using
@@ -529,7 +529,7 @@ <h3>Methods</h3>
529529
</dd>
530530
<dt id="supertokens_python.recipe.emailverification.interfaces.EmailVerifyPostResponse"><code class="flex name class">
531531
<span>class <span class="ident">EmailVerifyPostResponse</span></span>
532-
<span>(</span><span>status: "Literal['OK', 'EMAIL_VERIFICATION_INVALID_TOKEN_ERROR']", user: Union[User, None])</span>
532+
<span>(</span><span>status: "Literal[('OK', 'EMAIL_VERIFICATION_INVALID_TOKEN_ERROR')]", user: Union[User, None])</span>
533533
</code></dt>
534534
<dd>
535535
<div class="desc"><p>Helper class that provides a standard way to create an ABC using
@@ -625,7 +625,7 @@ <h3>Ancestors</h3>
625625
</dd>
626626
<dt id="supertokens_python.recipe.emailverification.interfaces.GenerateEmailVerifyTokenPostResponse"><code class="flex name class">
627627
<span>class <span class="ident">GenerateEmailVerifyTokenPostResponse</span></span>
628-
<span>(</span><span>status: "Literal['OK', 'EMAIL_ALREADY_VERIFIED_ERROR']")</span>
628+
<span>(</span><span>status: "Literal[('OK', 'EMAIL_ALREADY_VERIFIED_ERROR')]")</span>
629629
</code></dt>
630630
<dd>
631631
<div class="desc"><p>Helper class that provides a standard way to create an ABC using
@@ -1024,7 +1024,7 @@ <h3>Ancestors</h3>
10241024
</dd>
10251025
<dt id="supertokens_python.recipe.emailverification.interfaces.VerifyEmailUsingTokenResult"><code class="flex name class">
10261026
<span>class <span class="ident">VerifyEmailUsingTokenResult</span></span>
1027-
<span>(</span><span>status: "Literal['OK', 'EMAIL_VERIFICATION_INVALID_TOKEN_ERROR']", token: Union[User, None])</span>
1027+
<span>(</span><span>status: "Literal[('OK', 'EMAIL_VERIFICATION_INVALID_TOKEN_ERROR')]", token: Union[User, None])</span>
10281028
</code></dt>
10291029
<dd>
10301030
<div class="desc"><p>Helper class that provides a standard way to create an ABC using

html/supertokens_python/recipe/session/access_token.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
165165
</details>
166166
</dd>
167167
<dt id="supertokens_python.recipe.session.access_token.sanitize_number"><code class="name flex">
168-
<span>def <span class="ident">sanitize_number</span></span>(<span>n: any) ‑> Union[int, float, ForwardRef(None)]</span>
168+
<span>def <span class="ident">sanitize_number</span></span>(<span>n: any) ‑> Union[int, float, None]</span>
169169
</code></dt>
170170
<dd>
171171
<div class="desc"></div>

html/supertokens_python/recipe/session/cookie_and_header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
509509
</details>
510510
</dd>
511511
<dt id="supertokens_python.recipe.session.cookie_and_header.set_cookie"><code class="name flex">
512-
<span>def <span class="ident">set_cookie</span></span>(<span>recipe: SessionRecipe, response: BaseResponse, key, value, expires, path_type: "Literal['refresh_token_path', 'access_token_path']")</span>
512+
<span>def <span class="ident">set_cookie</span></span>(<span>recipe: SessionRecipe, response: BaseResponse, key, value, expires, path_type: "Literal[('refresh_token_path', 'access_token_path')]")</span>
513513
</code></dt>
514514
<dd>
515515
<div class="desc"></div>

html/supertokens_python/recipe/session/recipe.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
242242
<dl>
243243
<dt id="supertokens_python.recipe.session.recipe.SessionRecipe"><code class="flex name class">
244244
<span>class <span class="ident">SessionRecipe</span></span>
245-
<span>(</span><span>recipe_id: str, app_info: AppInfo, cookie_domain: Union[str, None] = None, cookie_secure: Union[str, None] = None, cookie_same_site: "Union[Literal['lax', 'none', 'strict'], None]" = None, session_expired_status_code: Union[str, None] = None, anti_csrf: "Union[Literal['VIA_TOKEN', 'VIA_CUSTOM_HEADER', 'NONE'], None]" = None, error_handlers: Union[InputErrorHandlers, None] = None, override: Union[InputOverrideConfig, None] = None, jwt: Union[JWTConfig, None] = None)</span>
245+
<span>(</span><span>recipe_id: str, app_info: AppInfo, cookie_domain: Union[str, None] = None, cookie_secure: Union[str, None] = None, cookie_same_site: "Union[Literal[('lax', 'none', 'strict')], None]" = None, session_expired_status_code: Union[str, None] = None, anti_csrf: "Union[Literal[('VIA_TOKEN', 'VIA_CUSTOM_HEADER', 'NONE')], None]" = None, error_handlers: Union[InputErrorHandlers, None] = None, override: Union[InputOverrideConfig, None] = None, jwt: Union[JWTConfig, None] = None)</span>
246246
</code></dt>
247247
<dd>
248248
<div class="desc"><p>Helper class that provides a standard way to create an ABC using
@@ -441,7 +441,7 @@ <h3>Static methods</h3>
441441
</details>
442442
</dd>
443443
<dt id="supertokens_python.recipe.session.recipe.SessionRecipe.init"><code class="name flex">
444-
<span>def <span class="ident">init</span></span>(<span>cookie_domain: Union[str, None] = None, cookie_secure: Union[str, None] = None, cookie_same_site: "Union[Literal['lax', 'none', 'strict'], None]" = None, session_expired_status_code: Union[str, None] = None, anti_csrf: "Union[Literal['VIA_TOKEN', 'VIA_CUSTOM_HEADER', 'NONE'], None]" = None, error_handlers: Union[InputErrorHandlers, None] = None, override: Union[InputOverrideConfig, None] = None, jwt: Union[JWTConfig, None] = None)</span>
444+
<span>def <span class="ident">init</span></span>(<span>cookie_domain: Union[str, None] = None, cookie_secure: Union[str, None] = None, cookie_same_site: "Union[Literal[('lax', 'none', 'strict')], None]" = None, session_expired_status_code: Union[str, None] = None, anti_csrf: "Union[Literal[('VIA_TOKEN', 'VIA_CUSTOM_HEADER', 'NONE')], None]" = None, error_handlers: Union[InputErrorHandlers, None] = None, override: Union[InputOverrideConfig, None] = None, jwt: Union[JWTConfig, None] = None)</span>
445445
</code></dt>
446446
<dd>
447447
<div class="desc"></div>

html/supertokens_python/recipe/session/utils.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
469469
</details>
470470
</dd>
471471
<dt id="supertokens_python.recipe.session.utils.validate_and_normalise_user_input"><code class="name flex">
472-
<span>def <span class="ident">validate_and_normalise_user_input</span></span>(<span>recipe: SessionRecipe, app_info: AppInfo, cookie_domain: Union[str, None] = None, cookie_secure: Union[str, None] = None, cookie_same_site: "Union[Literal['lax', 'none', 'strict'], None]" = None, session_expired_status_code: Union[str, None] = None, anti_csrf: "Union[Literal['VIA_TOKEN', 'VIA_CUSTOM_HEADER', 'NONE'], None]" = None, error_handlers: Union[<a title="supertokens_python.recipe.session.utils.InputErrorHandlers" href="#supertokens_python.recipe.session.utils.InputErrorHandlers">InputErrorHandlers</a>, None] = None, override: Union[<a title="supertokens_python.recipe.session.utils.InputOverrideConfig" href="#supertokens_python.recipe.session.utils.InputOverrideConfig">InputOverrideConfig</a>, None] = None, jwt: Union[<a title="supertokens_python.recipe.session.utils.JWTConfig" href="#supertokens_python.recipe.session.utils.JWTConfig">JWTConfig</a>, None] = None)</span>
472+
<span>def <span class="ident">validate_and_normalise_user_input</span></span>(<span>recipe: SessionRecipe, app_info: AppInfo, cookie_domain: Union[str, None] = None, cookie_secure: Union[str, None] = None, cookie_same_site: "Union[Literal[('lax', 'none', 'strict')], None]" = None, session_expired_status_code: Union[str, None] = None, anti_csrf: "Union[Literal[('VIA_TOKEN', 'VIA_CUSTOM_HEADER', 'NONE')], None]" = None, error_handlers: Union[<a title="supertokens_python.recipe.session.utils.InputErrorHandlers" href="#supertokens_python.recipe.session.utils.InputErrorHandlers">InputErrorHandlers</a>, None] = None, override: Union[<a title="supertokens_python.recipe.session.utils.InputOverrideConfig" href="#supertokens_python.recipe.session.utils.InputOverrideConfig">InputOverrideConfig</a>, None] = None, jwt: Union[<a title="supertokens_python.recipe.session.utils.JWTConfig" href="#supertokens_python.recipe.session.utils.JWTConfig">JWTConfig</a>, None] = None)</span>
473473
</code></dt>
474474
<dd>
475475
<div class="desc"></div>

html/supertokens_python/recipe/thirdparty/interfaces.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ <h3>Methods</h3>
511511
</dd>
512512
<dt id="supertokens_python.recipe.thirdparty.interfaces.PasswordResetResponse"><code class="flex name class">
513513
<span>class <span class="ident">PasswordResetResponse</span></span>
514-
<span>(</span><span>status: "Literal['OK', 'RESET_PASSWORD_INVALID_TOKEN_ERROR']")</span>
514+
<span>(</span><span>status: "Literal[('OK', 'RESET_PASSWORD_INVALID_TOKEN_ERROR')]")</span>
515515
</code></dt>
516516
<dd>
517517
<div class="desc"><p>Helper class that provides a standard way to create an ABC using
@@ -909,7 +909,7 @@ <h3>Methods</h3>
909909
</dd>
910910
<dt id="supertokens_python.recipe.thirdparty.interfaces.SignInUpPostResponse"><code class="flex name class">
911911
<span>class <span class="ident">SignInUpPostResponse</span></span>
912-
<span>(</span><span>status: "Literal['OK', 'NO_EMAIL_GIVEN_BY_PROVIDER', 'FIELD_ERROR']", user: Union[User, None] = None, created_new_user: Union[bool, None] = None, auth_code_response: any = None, error: Union[str, None] = None)</span>
912+
<span>(</span><span>status: "Literal[('OK', 'NO_EMAIL_GIVEN_BY_PROVIDER', 'FIELD_ERROR')]", user: Union[User, None] = None, created_new_user: Union[bool, None] = None, auth_code_response: any = None, error: Union[str, None] = None)</span>
913913
</code></dt>
914914
<dd>
915915
<div class="desc"><p>Helper class that provides a standard way to create an ABC using
@@ -966,7 +966,7 @@ <h3>Methods</h3>
966966
</dd>
967967
<dt id="supertokens_python.recipe.thirdparty.interfaces.SignInUpResult"><code class="flex name class">
968968
<span>class <span class="ident">SignInUpResult</span></span>
969-
<span>(</span><span>status: "Literal['OK', 'FIELD_ERROR']", user: Union[User, None] = None, created_new_user: Union[bool, None] = None, error: Union[str, None] = None)</span>
969+
<span>(</span><span>status: "Literal[('OK', 'FIELD_ERROR')]", user: Union[User, None] = None, created_new_user: Union[bool, None] = None, error: Union[str, None] = None)</span>
970970
</code></dt>
971971
<dd>
972972
<div class="desc"><p>Helper class that provides a standard way to create an ABC using

html/supertokens_python/recipe/thirdparty/recipe_implementation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ <h3>Methods</h3>
415415
</details>
416416
</dd>
417417
<dt id="supertokens_python.recipe.thirdparty.recipe_implementation.RecipeImplementation.get_users"><code class="name flex">
418-
<span>async def <span class="ident">get_users</span></span>(<span>self, time_joined_order: "Literal['ASC', 'DESC']", limit: Union[int, None] = None, pagination_token: Union[str, None] = None) ‑> <a title="supertokens_python.recipe.thirdparty.types.UsersResponse" href="types.html#supertokens_python.recipe.thirdparty.types.UsersResponse">UsersResponse</a></span>
418+
<span>async def <span class="ident">get_users</span></span>(<span>self, time_joined_order: "Literal[('ASC', 'DESC')]", limit: Union[int, None] = None, pagination_token: Union[str, None] = None) ‑> <a title="supertokens_python.recipe.thirdparty.types.UsersResponse" href="types.html#supertokens_python.recipe.thirdparty.types.UsersResponse">UsersResponse</a></span>
419419
</code></dt>
420420
<dd>
421421
<div class="desc"></div>

html/supertokens_python/recipe_module.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
121121
<dl>
122122
<dt id="supertokens_python.recipe_module.APIHandled"><code class="flex name class">
123123
<span>class <span class="ident">APIHandled</span></span>
124-
<span>(</span><span>path_without_api_base_path: NormalisedURLPath, method: "Literal['post', 'get', 'delete', 'put', 'options', 'trace']", request_id: str, disabled: bool)</span>
124+
<span>(</span><span>path_without_api_base_path: NormalisedURLPath, method: "Literal[('post', 'get', 'delete', 'put', 'options', 'trace')]", request_id: str, disabled: bool)</span>
125125
</code></dt>
126126
<dd>
127127
<div class="desc"></div>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy