def _update_parent_attachments(self):
try:<EOL><INDENT>self._parent.has_attachments = bool(len(self.__attachments))<EOL><DEDENT>except AttributeError:<EOL><INDENT>pass<EOL><DEDENT>
Tries to update the parent property 'has_attachments