Login
You're viewing the code4lib.social public feed.
  • Oct 20, 2026, 10:26 AM

    For now I'm doing this, though probably needs more work to accept SIGINT more cleanly

    ```
    from asgiref.sync import async_to_sync
    from django.core.management import BaseCommand

    class Command(BaseCommand):
    @async_to_sync()
    async def handle(self, topic, **options):
    ...
    ```

    💬 0🔄 0⭐ 0