Opened 7 months ago

Closed 2 months ago

#34901 closed New feature (fixed)

Add async interface to contrib.sessions

Reported by: Jon Janzen Owned by: Jon Janzen
Component: contrib.sessions Version: dev
Severity: Normal Keywords: async
Cc: Carlton Gibson, Andrew Chen Wang Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Per the ongoing attempt to asyncify the contrib.auth system the next step is to add an async interface/backends to sessions: https://forum.djangoproject.com/t/asyncifying-django-contrib-auth-and-signals-and-maybe-sessions/18770

There is obvious needs for this (see the above forum thread) and a basic implementation provided in one of the more recent comments: https://forum.djangoproject.com/t/asyncifying-django-contrib-auth-and-signals-and-maybe-sessions/18770/20

My plan is to take this implementation, add some tests and put it up as a PR

Change History (7)

comment:1 by Mariusz Felisiak, 7 months ago

Cc: Andrew Chen Wang added
Triage Stage: UnreviewedAccepted

My plan is to take this implementation...

I'm not sure if that's enough, but we can discuss it in PR.

comment:2 by Jon Janzen, 7 months ago

comment:3 by Jon Janzen, 7 months ago

Has patch: set

comment:4 by Mariusz Felisiak, 5 months ago

Needs tests: set
Patch needs improvement: set

comment:5 by Jon Janzen, 3 months ago

Needs tests: unset
Patch needs improvement: unset

comment:6 by Mariusz Felisiak, 2 months ago

Triage Stage: AcceptedReady for checkin

comment:7 by Mariusz Felisiak <felisiak.mariusz@…>, 2 months ago

Resolution: fixed
Status: assignedclosed

In f5c34068:

Fixed #34901 -- Added async-compatible interface to session engines.

Thanks Andrew-Chen-Wang for the initial implementation which was posted
to the Django forum thread about asyncifying contrib modules.

Note: See TracTickets for help on using tickets.
Back to Top