dbapi.py
changeset 7920 5146c63e8e34
parent 7894 ad0eeb0f7a8d
parent 7909 71c70bf482cf
child 7962 38ce8b8a980f
equal deleted inserted replaced
7919:ae3307cac44e 7920:5146c63e8e34
   271 
   271 
   272     @property
   272     @property
   273     def anonymous_session(self):
   273     def anonymous_session(self):
   274         return not self.cnx or self.cnx.anonymous_connection
   274         return not self.cnx or self.cnx.anonymous_connection
   275 
   275 
       
   276     def __repr__(self):
       
   277         return '<DBAPISession %r>' % self.sessionid
   276 
   278 
   277 class DBAPIRequest(RequestSessionBase):
   279 class DBAPIRequest(RequestSessionBase):
   278 
   280 
   279     def __init__(self, vreg, session=None):
   281     def __init__(self, vreg, session=None):
   280         super(DBAPIRequest, self).__init__(vreg)
   282         super(DBAPIRequest, self).__init__(vreg)