@gensim.utils.synchronous('<STR_LIT>')<EOL><INDENT>def open_session(self):<DEDENT>
if self.session is not None:<EOL><INDENT>msg = "<STR_LIT>" % self<EOL>logger.error(msg)<EOL>raise RuntimeError(msg)<EOL><DEDENT>logger.info("<STR_LIT>")<EOL>logger.info("<STR_LIT>" % self.loc_session)<EOL>try:<EOL><INDENT>shutil.rmtree(self.loc_session)<EOL><DEDENT>except:<EOL><INDENT>logger.info("<STR_LIT>" % self.loc_session)<EOL><DEDENT>logger.info("<STR_LIT>" %<EOL>(self.loc_stable, self.loc_session))<EOL>shutil.copytree(self.loc_stable, self.loc_session)<EOL>self.session = SimServer(self.loc_session, use_locks=self.use_locks)<EOL>self.lock_update.acquire()<EOL>
Open a new session to modify this server.

You can either call this fnc directly, or turn on autosession which will
open/commit sessions for you transparently.