<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getAttachmentUIDs(self):
 """Used to populate metadata, so that we don't need full objects of analyses when working with their attachments. """

        attachments = self.getAttachment()
        uids = [att.UID() for att in attachments]
        return uids