changeset 9110 | ed8b383d94fd |
parent 9109 | 499db4fd03f8 |
child 9112 | c859c7cef346 |
--- a/server/session.py Wed Jun 26 14:26:06 2013 +0200 +++ b/server/session.py Wed Jun 26 14:46:24 2013 +0200 @@ -1315,6 +1315,13 @@ # XXX backward compat with dbapi. deprecate me ASAP. return self.user.login + def new_cnx(self): + """Return a new Connection object linked to the session + + The returned Connection will *not* be managed by the Session. + """ + return Connection(self) + def get_cnx(self, cnxid): """return the <cnxid> connection attached to this session