We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbf77f4 commit dd64f23Copy full SHA for dd64f23
garlicsim/garlicsim/general_misc/identities.py
@@ -7,7 +7,7 @@
7
See its documentation for more information.
8
'''
9
10
-from garlicsim.general_misc import caching
+from garlicsim.general_misc import proxy_property
11
from garlicsim.general_misc.persistent import CrossProcessPersistent
12
13
@@ -44,9 +44,8 @@ def has_same_identity_as(self, other):
44
__and__ = has_same_identity_as
45
46
47
- @caching.CachedProperty
48
- def personality(self):
49
- '''Personality containing a human name and two colors.'''
50
- return self.__identity.personality
51
-
+ personality = proxy_property.ProxyProperty(
+ '__identity.personality',
+ doc='''Personality containing a human name and two colors.'''
+ )
52
0 commit comments