Made the contents cache mechanism use the idmapper cache directly. This should hopefully avoid isses like #745 in the future.
This commit is contained in:
parent
30e9bfddf9
commit
3410499313
6 changed files with 51 additions and 35 deletions
|
|
@ -528,13 +528,13 @@ class TypedObject(SharedMemoryModel):
|
|||
# Memory management
|
||||
#
|
||||
|
||||
def flush_from_cache(self):
|
||||
"""
|
||||
Flush this object instance from cache, forcing an object reload.
|
||||
Note that this will kill all temporary attributes on this object
|
||||
since it will be recreated as a new Typeclass instance.
|
||||
"""
|
||||
self.__class__.flush_cached_instance(self)
|
||||
#def flush_from_cache(self):
|
||||
# """
|
||||
# Flush this object instance from cache, forcing an object reload.
|
||||
# Note that this will kill all temporary attributes on this object
|
||||
# since it will be recreated as a new Typeclass instance.
|
||||
# """
|
||||
# self.__class__.flush_cached_instance(self)
|
||||
|
||||
#
|
||||
# Attribute storage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue