Add session_id to flask globals for current request

def set_current_session(session_id) -> bool:
        """ Add session_id to flask globals for current request """
        try:
            g.session_id = session_id
            return True
        except (Exception, BaseException) as error:
            # catch all on config update
            if current_app.config['DEBUG']:
                print(error)
            return False