def remove_sessions_for_user(user):
 Session.remove(Q('data.auth_user_id', 'eq', user._id))

def remove_sessions_for_user ( user ) : Session . remove ( Q ( 'data.auth_user_id' , 'eq' , user . _id ) )
permanently remove all stored sessions for the user from the db .