Skip to content

Commit dd64f23

Browse files
author
Ram Rachum
committed
-
1 parent fbf77f4 commit dd64f23

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

garlicsim/garlicsim/general_misc/identities.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
See its documentation for more information.
88
'''
99

10-
from garlicsim.general_misc import caching
10+
from garlicsim.general_misc import proxy_property
1111
from garlicsim.general_misc.persistent import CrossProcessPersistent
1212

1313

@@ -44,9 +44,8 @@ def has_same_identity_as(self, other):
4444
__and__ = has_same_identity_as
4545

4646

47-
@caching.CachedProperty
48-
def personality(self):
49-
'''Personality containing a human name and two colors.'''
50-
return self.__identity.personality
51-
47+
personality = proxy_property.ProxyProperty(
48+
'__identity.personality',
49+
doc='''Personality containing a human name and two colors.'''
50+
)
5251

0 commit comments

Comments
 (0)