Make activities translatable/human readable
Human-readable names and results for activites, notifications and exceptions.
fixes #139 (closed), #187 (closed)
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
-
152 161 162 @property 163 def readable_name(self): 164 return HumanReadableObject.from_dict(self.readable_name_data) 165 166 @readable_name.setter 167 def set_readable_name(self, value): 168 self.readable_name_data = None if value is None else value.to_dict() 169 170 @property 171 def result(self): 172 return HumanReadableObject.from_dict(self.result_data) 173 174 @result.setter 175 def set_result(self, value): 176 self.result_data = None if value is None else value.to_dict() -
Owner
don't we need a compatibility interface (with a deprecationwarning) for the case this is called with a string value?fixed
-