Skip to content

Commit 698cc96

Browse files
committed
adding dev-v0.11.0 tag to this commit to ensure building
1 parent 1e4ab7f commit 698cc96

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

html/supertokens_python/recipe/session/api/implementation.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,17 @@ <h1 class="title">Module <code>supertokens_python.recipe.session.api.implementat
4141
# under the License.
4242
from __future__ import annotations
4343

44-
from typing import TYPE_CHECKING, Union, List, Callable, Optional
44+
from typing import TYPE_CHECKING, Callable, List, Optional, Union
4545

4646
from supertokens_python.normalised_url_path import NormalisedURLPath
4747
from supertokens_python.recipe.session.interfaces import (
4848
APIInterface,
49-
SignOutOkayResponse,
5049
SessionClaimValidator,
50+
SignOutOkayResponse,
5151
)
5252
from supertokens_python.types import MaybeAwaitable
5353
from supertokens_python.utils import normalise_http_method
54+
5455
from ..utils import get_required_claim_validators
5556

5657
if TYPE_CHECKING:

html/supertokens_python/recipe/session/interfaces.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,21 @@ <h1 class="title">Module <code>supertokens_python.recipe.session.interfaces</cod
4545
from typing import (
4646
TYPE_CHECKING,
4747
Any,
48+
Callable,
4849
Dict,
4950
Generic,
5051
List,
52+
Optional,
5153
TypeVar,
5254
Union,
53-
Callable,
54-
Optional,
5555
)
5656

5757
from supertokens_python.async_to_sync_wrapper import sync
58-
from supertokens_python.types import APIResponse, MaybeAwaitable
58+
from supertokens_python.types import APIResponse, GeneralErrorResponse, MaybeAwaitable
59+
60+
from ...utils import resolve
5961
from .exceptions import ClaimValidationError
6062
from .utils import SessionConfig
61-
from ...utils import resolve
6263

6364
if TYPE_CHECKING:
6465
from supertokens_python.framework import BaseRequest, BaseResponse
@@ -347,7 +348,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.session.interfaces</cod
347348
session: Optional[SessionContainer],
348349
api_options: APIOptions,
349350
user_context: Dict[str, Any],
350-
) -&gt; SignOutOkayResponse:
351+
) -&gt; Union[SignOutOkayResponse, GeneralErrorResponse]:
351352
pass
352353

353354
@abstractmethod
@@ -696,7 +697,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
696697
session: Optional[SessionContainer],
697698
api_options: APIOptions,
698699
user_context: Dict[str, Any],
699-
) -&gt; SignOutOkayResponse:
700+
) -&gt; Union[SignOutOkayResponse, GeneralErrorResponse]:
700701
pass
701702

702703
@abstractmethod
@@ -742,7 +743,7 @@ <h3>Methods</h3>
742743
</details>
743744
</dd>
744745
<dt id="supertokens_python.recipe.session.interfaces.APIInterface.signout_post"><code class="name flex">
745-
<span>async def <span class="ident">signout_post</span></span>(<span>self, session: Optional[<a title="supertokens_python.recipe.session.interfaces.SessionContainer" href="#supertokens_python.recipe.session.interfaces.SessionContainer">SessionContainer</a>], api_options: <a title="supertokens_python.recipe.session.interfaces.APIOptions" href="#supertokens_python.recipe.session.interfaces.APIOptions">APIOptions</a>, user_context: Dict[str, Any]) ‑> <a title="supertokens_python.recipe.session.interfaces.SignOutOkayResponse" href="#supertokens_python.recipe.session.interfaces.SignOutOkayResponse">SignOutOkayResponse</a></span>
746+
<span>async def <span class="ident">signout_post</span></span>(<span>self, session: Optional[<a title="supertokens_python.recipe.session.interfaces.SessionContainer" href="#supertokens_python.recipe.session.interfaces.SessionContainer">SessionContainer</a>], api_options: <a title="supertokens_python.recipe.session.interfaces.APIOptions" href="#supertokens_python.recipe.session.interfaces.APIOptions">APIOptions</a>, user_context: Dict[str, Any]) ‑> Union[<a title="supertokens_python.recipe.session.interfaces.SignOutOkayResponse" href="#supertokens_python.recipe.session.interfaces.SignOutOkayResponse">SignOutOkayResponse</a><a title="supertokens_python.types.GeneralErrorResponse" href="../../types.html#supertokens_python.types.GeneralErrorResponse">GeneralErrorResponse</a>]</span>
746747
</code></dt>
747748
<dd>
748749
<div class="desc"></div>
@@ -756,7 +757,7 @@ <h3>Methods</h3>
756757
session: Optional[SessionContainer],
757758
api_options: APIOptions,
758759
user_context: Dict[str, Any],
759-
) -&gt; SignOutOkayResponse:
760+
) -&gt; Union[SignOutOkayResponse, GeneralErrorResponse]:
760761
pass</code></pre>
761762
</details>
762763
</dd>

0 commit comments

Comments
 (0)