Opened 3 weeks ago

Last modified 12 days ago

#35859 assigned New feature

Add DEP14 Tasks interface

Reported by: Jake Howard Owned by: Jake Howard
Component: Core (Other) Version: dev
Severity: Normal Keywords:
Cc: Carlton Gibson, Harro, Evstifeev Roman, şuayip üzülmez Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

As part of DEP 14, this ticket adds a generic Task interface, allowing enqueueing background tasks. Specifically:

  • Common API interface
  • Base backend
  • Task / result classes
  • Immediate / Dummy backends

These features already exist in django-tasks, but need to make their way into Django core.

The database backend is intentionally absent, but will be added in a future ticket. This makes the PR significantly smaller, and easier to review.

Change History (7)

comment:1 by Jake Howard, 3 weeks ago

Triage Stage: UnreviewedAccepted

comment:2 by Carlton Gibson, 3 weeks ago

Cc: Carlton Gibson added

Hey Jake, great.

You can’t accept your own ticket, but I’ll *pretend do that* now. ✅

comment:3 by Carlton Gibson, 3 weeks ago

We might need a new Tasks component for Trac. 😅

comment:4 by Harro, 3 weeks ago

Cc: Harro added

comment:5 by Claude Paroz, 3 weeks ago

Component: UncategorizedCore (Other)
Version: 5.0dev

comment:6 by Evstifeev Roman, 3 weeks ago

Cc: Evstifeev Roman added

comment:7 by şuayip üzülmez, 12 days ago

Cc: şuayip üzülmez added
Note: See TracTickets for help on using tickets.
Back to Top