is blocked and the exception will be reiterated on the
next compile() call. This issue occurs frequently
when using declarative.
+
+ - Added ScopedSession.is_active accessor. [ticket:976]
- Corrected problem with Query.delete() and
Query.update() not working properly with bind
def get(self):
return getattr(self.registry(), name)
return property(get, set)
-for prop in ('bind', 'dirty', 'deleted', 'new', 'identity_map'):
+for prop in ('bind', 'dirty', 'deleted', 'new', 'identity_map', 'is_active'):
setattr(ScopedSession, prop, makeprop(prop))
def clslevel(name):
public_methods = (
'__contains__', '__iter__', 'add', 'add_all', 'begin', 'begin_nested',
'clear', 'close', 'commit', 'connection', 'delete', 'execute', 'expire',
- 'expire_all', 'expunge', 'flush', 'get_bind', 'is_modified',
+ 'expire_all', 'expunge', 'flush', 'get_bind', 'is_modified',
'merge', 'query', 'refresh', 'rollback', 'save',
'save_or_update', 'scalar', 'update')