original_docstring: Dispatches the request to either direct, interactive execution
          or to asynchronous processing using Rabbit.
docstring: Dispatches the request to either direct, interactive execution
  or to asynchronous processing using Rabbit.
docstring_tokens: Dispatches the request to either direct interactive execution or to asynchronous processing using Rabbit .
code: def handle(self, *args, **options):
          """Dispatches the request to either direct, interactive execution
          or to asynchronous processing using Rabbit."""
          try:
              how_many = int(args[0])
          except (ValueError, TypeError, IndexError):
              how_many = 1000
          if options['remote']:
              queue = django_rq.get_queue()
              queue.enqueue_call(
                  func=dummy_horde,
                  kwargs=dict(how_many=how_many, interactive=False),
                  timeout=60,
                  result_ttl=0,
              )
          else:
              dummy_horde(how_many=how_many, interactive=True)
code_tokens: def handle ( self , * args , ** options ) : try : how_many = int ( args [ 0 ] ) except ( ValueError , TypeError , IndexError ) : how_many = 1000 if options [ 'remote' ] : queue = django_rq . get_queue ( ) queue . enqueue_call ( func = dummy_horde , kwargs = dict ( how_many = how_many , interactive = False ) , timeout = 60 , result_ttl = 0 , ) else : dummy_horde ( how_many = how_many , interactive = True )
short_docstring: Dispatches the request to either direct, interactive execution
  or to asynchronous processing using Rabbit.
short_docstring_tokens: Dispatches the request to either direct interactive execution or to asynchronous processing using Rabbit .
comment: """Dispatches the request to either direct, interactive execution
          or to asynchronous processing using Rabbit."""