#NEWLINE# def EnqueueBackgroundThread( request_id , target , args , kwargs ) : #NEWLINE# #INDENT# 'Enqueues a new background thread request for a certain request ID.\n\n  Args:\n    request_id: A str containing the request ID for this background thread.\n    target: A callable for the background thread to execute.\n    args: A tuple of positional args to be passed to target.\n    kwargs: A dict of keyword args to be passed to target.\n\n  Returns:\n    The thread_id of the background thread.\n  ' #NEWLINE# return _pending_background_threads . EnqueueBackgroundThread ( target , target , args , kwargs )