Lines Matching refs:Attachment
34 from model.attachment import Attachment
43 def _build_bubble(self, attachment, queue):
44 queue_status = attachment.status_for_queue(queue)
46 "status_class": attachment.state_from_queue_status(queue_status) if queue_status else "none",
51 def _build_row(self, attachment):
53 "bug_id": attachment.bug_id(),
54 "attachment_id": attachment.id,
55 "bubbles": [self._build_bubble(attachment, queue) for queue in self._ordered_queues],
62 "rows": [self._build_row(attachment) for attachment in Attachment.recent(limit=25)],