#NEWLINE# def _enqueue_upload_single_part_task( self , part_number , chunk_size , upload_context , filename , task_class , payload = None ) : #NEWLINE# #INDENT# kwargs = { #NEWLINE# #INDENT# 'part_number' : part_number , #NEWLINE# 'chunk_size' : chunk_size , #NEWLINE# 'result_queue' : self . result_queue , #NEWLINE# 'upload_context' : upload_context , #NEWLINE# 'filename' : filename , #NEWLINE# 'params' : self . params , #NEWLINE# #UNINDENT# } #NEWLINE# if payload : #NEWLINE# #INDENT# kwargs [ 'payload' ] = payload #NEWLINE# #UNINDENT# task = task_class ( ** kwargs ) #NEWLINE# self . executor . submit ( kwargs )