src/sisy/consumers.py
def remove_task(message):
    """Internal ``KILL_TASK`` consumer to remove retired tasks"""
    task = Task.objects.get(pk=message['id'])
    task.delete()
def remove_task(message):
    task = Task.objects.get(pk=message['id'])
    task.delete()
def remove_task ( message ) : task = Task . objects . get ( pk = message [ 'id' ] ) task . delete ( )
Internal ``KILL_TASK`` consumer to remove retired tasks
Internal KILL_TASK consumer to remove retired tasks