Unwrap for expressions in comprehensions, too.
This commit is contained in:
parent
f2e800ddf1
commit
7d524ac328
25 changed files with 54 additions and 54 deletions
|
|
@ -328,7 +328,7 @@ class SharedMemoryModel(with_metaclass(SharedMemoryModelBase, Model)):
|
|||
if force:
|
||||
cls.__dbclass__.__instance_cache__ = {}
|
||||
else:
|
||||
cls.__dbclass__.__instance_cache__ = dict((key, obj) for key, obj in list(cls.__dbclass__.__instance_cache__.items())
|
||||
cls.__dbclass__.__instance_cache__ = dict((key, obj) for key, obj in cls.__dbclass__.__instance_cache__.items()
|
||||
if not obj.at_idmapper_flush())
|
||||
#flush_instance_cache = classmethod(flush_instance_cache)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue