def get_mesh_context(): context = ContextLocal.get() if context: return context request = Request.current_request() if request: return request.context
def _construct_context(self): request = Request.current_request() if request: return request.context