def _get_body(self):
        " Return the Container object for the current CLI. "
        new_hash = self.pymux.arrangement.invalidation_hash()

        # Return existing layout if nothing has changed to the arrangement.
        app = get_app()

        if app in self._bodies_for_app:
            existing_hash, container = self._bodies_for_app[app]
            if existing_hash == new_hash:
                return container

        # The layout changed. Build a new layout when the arrangement changed.
        new_layout = self._build_layout()
        self._bodies_for_app[app] = (new_hash, new_layout)
        return new_layout
def _get_body ( self ) : new_hash = self . pymux . arrangement . invalidation_hash ( ) app = get_app ( ) if app in self . _bodies_for_app : existing_hash , container = self . _bodies_for_app [ app ] if existing_hash == new_hash : return container new_layout = self . _build_layout ( ) self . _bodies_for_app [ app ] = ( new_hash , new_layout ) return new_layout
Return the Container object for the current CLI.