exchangelib/attachments.py
def content(self):
        """Return the attachment content. Stores a local copy of the content in case you want to upload the attachment
        again later.
        """
        if self.attachment_id is None:
            return self._content
        if self._content is not None:
            return self._content
        # We have an ID to the data but still haven't called GetAttachment to get the actual data. Do that now.
        with self.fp as fp:
            self._content = fp.read()
        return self._content
Return the attachment content. Stores a local copy of the content in case you want to upload the attachment
        again later.
        
Return the attachment content. Stores a local copy of the content in case you want to upload the attachment
again later.
Return the attachment content . Stores a local copy of the content in case you want to upload the attachment again later .
def content(self):
        if self.attachment_id is None:
            return self._content
        if self._content is not None:
            return self._content
        with self.fp as fp:
            self._content = fp.read()
        return self._content
def content ( self ) : if self . attachment_id is None : return self . _content if self . _content is not None : return self . _content with self . fp as fp : self . _content = fp . read ( ) return self . _content
Return the attachment content.
Return the attachment content .
"""Return the attachment content. Stores a local copy of the content in case you want to upload the attachment
        again later.
        """ # We have an ID to the data but still haven't called GetAttachment to get the actual data. Do that now.
self