turbosnake/_components.py
def enqueue_task(self, queue_name, task):
        """Enqueue task for execution on given queue."""
        assert queue_name in self.__queue_names, 'Wrong queue name'

        self.__queues[queue_name].put(task)

        if not self.__task_processing_scheduled:
            self.schedule_task(self.__run_tasks)
            self.__task_processing_scheduled = True
Enqueue task for execution on given queue.
Enqueue task for execution on given queue.
Enqueue task for execution on given queue .
def enqueue_task(self, queue_name, task):
        assert queue_name in self.__queue_names, 'Wrong queue name'
        self.__queues[queue_name].put(task)
        if not self.__task_processing_scheduled:
            self.schedule_task(self.__run_tasks)
            self.__task_processing_scheduled = True
def enqueue_task ( self , queue_name , task ) : assert queue_name in self . __queue_names , 'Wrong queue name' self . __queues [ queue_name ] . put ( task ) if not self . __task_processing_scheduled : self . schedule_task ( self . __run_tasks ) self . __task_processing_scheduled = True
Enqueue task for execution on given queue.
Enqueue task for execution on given queue .
"""Enqueue task for execution on given queue."""
self
queue_name
task