def _set_attachments(self, value):
if value is None:<EOL><INDENT>setattr(self, '<STR_LIT>', [])<EOL><DEDENT>elif isinstance(value, list):<EOL><INDENT>setattr(self, '<STR_LIT>', value)<EOL><DEDENT>else:<EOL><INDENT>raise TypeError('<STR_LIT>')<EOL><DEDENT>
A special set function to ensure
we're setting with a list