Changes between Initial Version and Version 1 of Ticket #33882, comment 18


Ignore:
Timestamp:
Sep 1, 2024, 2:29:19 PM (3 months ago)
Author:
André S. Hansen

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33882, comment 18

    initial v1  
    55{{{
    66async def post():
    7     await sync_to_async(_post_sync_transaction)
     7    await sync_to_async(_post_sync_transaction)  # <-- Messy but maybe acceptable
    88
    99
     
    1111def _post_sync_transaction():
    1212   logic1()
    13    async_to_sync(alogic2) # <-- Messy maintaining
    14    async_to_sync(alogic3) # <-- Messy maintaining
     13   async_to_sync(alogic2) # <-- Very messy, not acceptable
     14   async_to_sync(alogic3) # <-- Very messy, not acceptable
    1515
    1616
Back to Top