equal
deleted
inserted
replaced
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) |