Changes between Initial Version and Version 7 of Ticket #33882
- Timestamp:
- Aug 2, 2022, 9:56:49 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33882
- Property Component Uncategorized → Database layer (models, ORM)
- Property Keywords async added
- Property Triage Stage Unreviewed → Accepted
- Property Summary async transaction.atomic → Allow transaction.atomic to work in async contexts.
-
Ticket #33882 – Description
initial v7 1 1 Wouldn't it be possible to add something like: 2 2 {{{ #!python 3 3 __aenter__ = sync_to_async(Atomic.__enter__, thread_sensitive=True) 4 4 __aexit__ = sync_to_async(Atomic.__exit__, thread_sensitive=True) 5 5 }}} 6 6 to the Atomic class to support async calls?