Part of lp.bugs.interfaces.bugattachment View In Hierarchy
| Method | create | Create a new attachment and return it. |
| Method | __getitem__ | Get an IAttachment by its id. |
| Parameters | bug | The IBug to which the new attachment belongs. |
| filealias | The IFilealias containing the data. | |
| message | The IMessage to which this attachment belongs. | |
| type | The type of attachment. See BugAttachmentType. | |
| send_notifications | If True, a notification is sent to subscribers of the bug. |