Home | History | Annotate | Download | only in handlers

Lines Matching refs:Attachment

33 from model.attachment import Attachment
41 def _should_add_to_ews_queue(self, queue, attachment):
46 latest_status = attachment.status_for_queue(queue)
56 def _add_attachment_to_ews_queues(self, attachment):
58 if self._should_add_to_ews_queue(queue, attachment):
59 queue.work_items().add_work_item(attachment.id)
63 attachment = Attachment(attachment_id)
64 self._add_attachment_to_ews_queues(attachment)