sanic_cookies/sessions/auth.py
async def logout_user(self, request, logout_anon=True):
        """ logout_anon: Set to false to delete the authenticated session only when
        there's a logged in user """
        async with request[self.session_name] as sess:
            if logout_anon or (not logout_anon and sess.get(self.auth_key)):
                sess.reset()
 logout_anon: Set to false to delete the authenticated session only when
        there's a logged in user 
Set to false to delete the authenticated session only when
there's a logged in user
Set to false to delete the authenticated session only when there ' s a logged in user
async def logout_user(self, request, logout_anon=True):
        async with request[self.session_name] as sess:
            if logout_anon or (not logout_anon and sess.get(self.auth_key)):
                sess.reset()
async def logout_user ( self , request , logout_anon = True ) : async with request [ self . session_name ] as sess : if logout_anon or ( not logout_anon and sess . get ( self . auth_key ) ) : sess . reset ( )
logout_anon: Set to false to delete the authenticated session only when
there's a logged in user
logout_anon : Set to false to delete the authenticated session only when there ' s a logged in user
""" logout_anon: Set to false to delete the authenticated session only when
        there's a logged in user """
self
request
logout_anon