<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get(self, id, attid):
 # pylint: disable=invalid-name,redefined-builtin """Get a device's attachment. :param id: Device ID as an int. :param attid: Attachment ID as an int. :return: :class:`attachments.Attachment <attachments.Attachment>` object :rtype: attachments.Attachment """

        schema = AttachmentSchema()
        resp = self.service.get_id(self._base(id), attid)
        return self.service.decode(schema, resp)