api.worker.tasks¶
Background jobs that are not registered scripts: they don’t need a run history.
Attributes¶
Functions¶
|
Text of a label photo, and the brand / model / serial number found in it. |
|
AI research on one product, proposed to the sales team (never written to Airtable). |
|
PDF documents of one model found on the web, each checked (a proposal). |
|
Copies the auction tracker's followed lots into the auctions Airtable base. |
|
After an UltiMate 3000 offer request: picture, Airtable record, n8n e-mails. |
|
Asks RewakeApp every morning to send the monthly payroll reminder. |
Module Contents¶
- api.worker.tasks.logger¶
- api.worker.tasks.AI_TRANSIENT_ERRORS¶
- api.worker.tasks.AUCTIONS_SYNC_LOCK = 'auctions:airtable:lock'¶
- api.worker.tasks.AUCTIONS_SYNC_LOCK_TTL = 1800¶
- api.worker.tasks.run_label_ocr(self: celery.Task, image_b64: str, content_type: str = 'image/jpeg') dict[str, Any]¶
Text of a label photo, and the brand / model / serial number found in it.
- api.worker.tasks.run_product_research(self: celery.Task, identity: dict[str, Any]) dict[str, Any]¶
AI research on one product, proposed to the sales team (never written to Airtable).
- api.worker.tasks.run_document_search(self: celery.Task, identity: dict[str, Any]) dict[str, Any]¶
PDF documents of one model found on the web, each checked (a proposal).
- api.worker.tasks.sync_auctions_airtable() dict[str, Any] | None¶
Copies the auction tracker’s followed lots into the auctions Airtable base.
- api.worker.tasks.ultimate3000_offer(self: celery.Task, estimation_id: str) dict[str, Any]¶
After an UltiMate 3000 offer request: picture, Airtable record, n8n e-mails.
- api.worker.tasks.payroll_monthly_reminder() dict[str, Any] | None¶
Asks RewakeApp every morning to send the monthly payroll reminder.
The app decides the day and sends once a month, so running daily and retrying are safe.