original_docstring: Associates the creation of one or more tasks with a transaction.
  
      Args:
        request: A taskqueue_service_pb.TaskQueueBulkAddRequest containing the
          tasks that should be created when the transaction is committed.
      
docstring: Associates the creation of one or more tasks with a transaction.
docstring_tokens: Associates the creation of one or more tasks with a transaction .
code: def _Dynamic_AddActions(self, request, _):
      """Associates the creation of one or more tasks with a transaction.
  
      Args:
        request: A taskqueue_service_pb.TaskQueueBulkAddRequest containing the
          tasks that should be created when the transaction is committed.
      """
  
  
  
  
      if not request.add_request_list():
        return
  
      transaction = request.add_request_list()[0].transaction()
      txn = self._datastore.GetTxn(transaction, self._trusted, self._app_id)
      new_actions = []
      for add_request in request.add_request_list():
  
  
  
        Check(add_request.transaction() == transaction,
              'Cannot add requests to different transactions')
        clone = taskqueue_service_pb.TaskQueueAddRequest()
        clone.CopyFrom(add_request)
        clone.clear_transaction()
        new_actions.append(clone)
  
      txn.AddActions(new_actions, self._MAX_ACTIONS_PER_TXN)
code_tokens: def _Dynamic_AddActions ( self , request , _ ) : if not request . add_request_list ( ) : return transaction = request . add_request_list ( ) [ 0 ] . transaction ( ) txn = self . _datastore . GetTxn ( transaction , self . _trusted , self . _app_id ) new_actions = [ ] for add_request in request . add_request_list ( ) : Check ( add_request . transaction ( ) == transaction , 'Cannot add requests to different transactions' ) clone = taskqueue_service_pb . TaskQueueAddRequest ( ) clone . CopyFrom ( add_request ) clone . clear_transaction ( ) new_actions . append ( clone ) txn . AddActions ( new_actions , self . _MAX_ACTIONS_PER_TXN )
short_docstring: Associates the creation of one or more tasks with a transaction.
short_docstring_tokens: Associates the creation of one or more tasks with a transaction .
comment: """Associates the creation of one or more tasks with a transaction.
  
      Args:
        request: A taskqueue_service_pb.TaskQueueBulkAddRequest containing the
          tasks that should be created when the transaction is committed.
      """