#NEWLINE# def choose_task_name( app_name , queue_name , user_chosen = None ) : #NEWLINE# #INDENT# ' Creates a task name that the system can use to address\n      tasks from different apps and queues.\n \n  Args:\n    app_name: The application name.\n    queue_name: The queue \n    user_chosen: A string name the user selected for their applicaiton.\n  Returns:\n    A randomized string representing a task name.\n  ' #NEWLINE# if ( not user_chosen ) : #NEWLINE# #INDENT# user_chosen = _get_random_string ( ) #NEWLINE# #UNINDENT# return ( 'task_%s_%s_%s' % ( app_name , queue_name , user_chosen ) )