def __init__(self, parent, attachments=None):
super().__init__(protocol=parent.protocol,<EOL>main_resource=parent.main_resource)<EOL>self._parent = parent<EOL>self.__attachments = []<EOL>self.__removed_attachments = []<EOL>self.untrack = True<EOL>if attachments:<EOL><INDENT>self.add(attachments)<EOL><DEDENT>self.untrack = False<EOL>
Attachments must be a list of path strings or dictionary elements

        :param Account parent: parent object
        :param attachments: list of attachments
        :type attachments: list[str] or list[Path] or str or Path or dict