Skip to content

Commit 8fd9eb6

Browse files
committed
adding dev-v0.10.0 tag to this commit to ensure building
1 parent 5f9f3e1 commit 8fd9eb6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

html/supertokens_python/recipe/session/session_class.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ <h1 class="title">Module <code>supertokens_python.recipe.session.session_class</
5050
async def revoke_session(self, user_context: Union[Any, None] = None) -&gt; None:
5151
if user_context is None:
5252
user_context = {}
53-
if await self.recipe_implementation.revoke_session(
53+
await self.recipe_implementation.revoke_session(
5454
self.session_handle, user_context
55-
):
56-
self.remove_cookies = True
55+
)
56+
self.remove_cookies = True
5757

5858
async def get_session_data(
5959
self, user_context: Union[Dict[str, Any], None] = None
@@ -166,10 +166,10 @@ <h2 class="section-title" id="header-classes">Classes</h2>
166166
async def revoke_session(self, user_context: Union[Any, None] = None) -&gt; None:
167167
if user_context is None:
168168
user_context = {}
169-
if await self.recipe_implementation.revoke_session(
169+
await self.recipe_implementation.revoke_session(
170170
self.session_handle, user_context
171-
):
172-
self.remove_cookies = True
171+
)
172+
self.remove_cookies = True
173173

174174
async def get_session_data(
175175
self, user_context: Union[Dict[str, Any], None] = None
@@ -397,10 +397,10 @@ <h3>Methods</h3>
397397
<pre><code class="python">async def revoke_session(self, user_context: Union[Any, None] = None) -&gt; None:
398398
if user_context is None:
399399
user_context = {}
400-
if await self.recipe_implementation.revoke_session(
400+
await self.recipe_implementation.revoke_session(
401401
self.session_handle, user_context
402-
):
403-
self.remove_cookies = True</code></pre>
402+
)
403+
self.remove_cookies = True</code></pre>
404404
</details>
405405
</dd>
406406
<dt id="supertokens_python.recipe.session.session_class.Session.update_access_token_payload"><code class="name flex">

0 commit comments

Comments
 (0)