def list_attachments(self, doc):
        attachment_metadata = self._list_attachment_metadata(doc)
        attachments = None
        if attachment_metadata:
            # Todo: Currently content type is always empty
            attachments =[dict({'data' : self._get_attachment(attachment[0], attachment_name=attachment[1]), 'attachment_name':attachment[1], 'content-type':'' }) for attachment in attachment_metadata]

        return attachments
Returns the a list of attachments for the document, as a dict of dicts, key'ed by name with
dataset/ETHPy150Open ooici/pyon/pyon/datastore/couchbase/base_store.py/CouchbaseDataStore.list_attachments