Opened 31 hours ago

Last modified 30 hours 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 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 (5)

comment:1 by Jake Howard, 31 hours ago

Triage Stage: UnreviewedAccepted

comment:2 by Carlton Gibson, 31 hours 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, 31 hours ago

We might need a new Tasks component for Trac. 😅

comment:4 by Harro, 31 hours ago

Cc: Harro added

comment:5 by Claude Paroz, 30 hours ago

Component: UncategorizedCore (Other)
Version: 5.0dev
Note: See TracTickets for help on using tickets.
Back to Top