

def delete_attachment(self, attachment_id=''):
    try:
        self.rr_store.delete_attachment(attachment_id, attachment_name=self.DEFAULT_ATTACHMENT_NAME)
    finally:
        return self.delete(attachment_id, del_associations=True)

dataset/ETHPy150Open ooici/pyon/pyon/ion/resregistry.py ResourceRegistry.delete_attachment/original