Opened 22 months ago

Last modified 5 months ago

#33882 assigned New feature

async transaction.atomic — at Initial Version

Reported by: alex Owned by: nobody
Component: Database layer (models, ORM) Version: 4.0
Severity: Normal Keywords: async
Cc: Hugo Osvaldo Barrera, rajdesai24, Moritz Ulmer, Tyson Clugg, Julien Enselme Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Wouldn't it be possible to add something like:

aenter = sync_to_async(Atomic.enter, thread_sensitive=True)
aexit = sync_to_async(Atomic.exit, thread_sensitive=True)

to the Atomic class to support async calls?

Change History (0)

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