server/session.py
branchstable
changeset 6071 c7a9e25153c2
parent 6028 c83167d1b040
child 6077 62011f82c386
child 6385 9f91d09ee5fa
equal deleted inserted replaced
6070:0ca78eb1a3c2 6071:c7a9e25153c2
  1019     running_dbapi_query = False
  1019     running_dbapi_query = False
  1020 
  1020 
  1021     def __init__(self, repo, cnxprops=None):
  1021     def __init__(self, repo, cnxprops=None):
  1022         super(InternalSession, self).__init__(InternalManager(), repo, cnxprops,
  1022         super(InternalSession, self).__init__(InternalManager(), repo, cnxprops,
  1023                                               _id='internal')
  1023                                               _id='internal')
  1024         self.user.req = self # XXX remove when "vreg = user.req.vreg" hack in entity.py is gone
  1024         self.user._cw = self # XXX remove when "vreg = user._cw.vreg" hack in entity.py is gone
  1025         self.cnxtype = 'inmemory'
  1025         self.cnxtype = 'inmemory'
  1026         self.disable_hook_categories('integrity')
  1026         self.disable_hook_categories('integrity')
  1027 
  1027 
  1028     @property
  1028     @property
  1029     def pool(self):
  1029     def pool(self):